New Glibc needs LC_CTYPE in order to work well.
 The -C option was not being recognized.

--- wget-1.6.orig/src/main.c
+++ wget-1.6/src/main.c
@@ -90,6 +90,7 @@
      makes http_atotm() malfunction.  */
 #ifdef LC_MESSAGES
   setlocale (LC_MESSAGES, "");
+  setlocale (LC_CTYPE, "");
 #else
   setlocale (LC_ALL, "");
 #endif
@@ -315,7 +316,7 @@
       that the options with required arguments must be followed by a ':'.
       -- Dan Harkless <[EMAIL PROTECTED]>] */
   while ((c = getopt_long (argc, argv, "\
-hpVqvdkKsxmNWrHSLcFbEY:G:g:T:U:O:l:n:i:o:a:t:D:A:R:P:B:e:Q:X:I:w:",
+hpVqvdkKsxmNWrHSLcFbEY:G:g:T:U:O:l:n:i:o:a:t:D:A:R:P:B:e:Q:X:I:w:C:",
                           long_options, (int *)0)) != EOF)
     {
       switch (c)

Reply via email to