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 <yury@shurup.com>
  • Loading branch information
zyv committed Oct 19, 2024
1 parent 54e17e9 commit 4cb2ff6
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 4cb2ff6

Please sign in to comment.