From 289b9c85bed43f0198935d5a08b5a18004be8bc9 Mon Sep 17 00:00:00 2001 From: "Yury V. Zaytsev" Date: Sat, 19 Oct 2024 09:35:19 +0200 Subject: [PATCH] (canonicalize_pathname_custom): fix `--disable-charset` build broken in 8f723b8 Signed-off-by: Yury V. Zaytsev --- lib/utilunix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utilunix.c b/lib/utilunix.c index 4821f2dff..6e5368747 100644 --- a/lib/utilunix.c +++ b/lib/utilunix.c @@ -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';