Index: bin/chmod/chmod.c =================================================================== --- bin/chmod/chmod.c (revision 304164) +++ bin/chmod/chmod.c (working copy) @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -68,6 +69,8 @@ char *mode; mode_t newmode; + setlocale(LC_ALL,""); + set = NULL; Hflag = Lflag = Rflag = fflag = hflag = vflag = 0; while ((ch = getopt(argc, argv, "HLPRXfghorstuvwx")) != -1)