Skip to content

Commit

Permalink
(canonicalize_pathname_custom): fix --disable-charset build broken in
Browse files Browse the repository at this point in the history
8f723b8

Signed-off-by: Yury V. Zaytsev <[email protected]>
  • Loading branch information
zyv committed Oct 20, 2024
1 parent 620f565 commit ecaa664
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/utilunix.c
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,9 @@ canonicalize_pathname_custom (char *path, canon_path_flags_t flags)
#endif /* HAVE_CHARSET */
else
{
#ifdef HAVE_CHARSET
last:
#endif /* HAVE_CHARSET */
if (s >= lpath + url_delim_len
&& strncmp (s - url_delim_len, VFS_PATH_URL_DELIMITER, url_delim_len) == 0)
*s = '\0';
Expand Down

0 comments on commit ecaa664

Please sign in to comment.