# fix build error when not using multibyte --- ./locale.c.dist 2024-04-20 20:59:12.924569800 +0200 +++ ./locale.c 2024-04-20 20:59:24.862561256 +0200 @@ -91,7 +91,7 @@ #if defined (HANDLE_MULTIBYTE) locale_shiftstates = mblen ((char *)NULL, 0); #else - local_shiftstates = 0; + locale_shiftstates = 0; #endif } @@ -117,7 +117,7 @@ # if defined (HANDLE_MULTIBYTE) locale_shiftstates = mblen ((char *)NULL, 0); # else - local_shiftstates = 0; + locale_shiftstates = 0; # endif u32reset (); @@ -226,7 +226,7 @@ # if defined (HANDLE_MULTIBYTE) locale_shiftstates = mblen ((char *)NULL, 0); # else - local_shiftstates = 0; + locale_shiftstates = 0; # endif u32reset (); return r; @@ -250,7 +250,7 @@ #if defined (HANDLE_MULTIBYTE) locale_shiftstates = mblen ((char *)NULL, 0); #else - local_shiftstates = 0; + locale_shiftstates = 0; #endif u32reset (); } @@ -391,7 +391,7 @@ # if defined (HANDLE_MULTIBYTE) locale_shiftstates = mblen ((char *)NULL, 0); # else - local_shiftstates = 0; + locale_shiftstates = 0; # endif u32reset (); #endif --- ./lib/glob/glob.c.dist 2024-04-20 21:00:56.506495648 +0200 +++ ./lib/glob/glob.c 2024-04-20 21:01:44.530461266 +0200 @@ -119,10 +119,10 @@ #if HANDLE_MULTIBYTE void wcdequote_pathname PARAMS((wchar_t *)); static void wdequote_pathname PARAMS((char *)); +static void dequote_pathname PARAMS((char *)); #else # define dequote_pathname udequote_pathname #endif -static void dequote_pathname PARAMS((char *)); static int glob_testdir PARAMS((char *, int)); static char **glob_dir_to_array PARAMS((char *, char **, int));