]> git.marmaro.de Git - mmh/blobdiff - uip/scan.c
Report useful error message on broken file(1).
[mmh] / uip / scan.c
index 085cc7fa7ea3c54a5b206356520bd53277604074..ba90e4010ee23851abf6bfb1aa0730b40dd9dfe5 100644 (file)
@@ -19,7 +19,7 @@ static struct swit switches[] = {
 #define WIDTHSW  1
        { "width columns", 0 },
 #define FILESW  2
-       { "file file", 4 },
+       { "file file", 0 },
 #define VERSIONSW 3
        { "Version", 0 },
 #define HELPSW  4
@@ -41,9 +41,7 @@ main(int argc, char **argv)
        struct msgs *mp;
        FILE *in;
 
-#ifdef LOCALE
        setlocale(LC_ALL, "");
-#endif
        invo_name = mhbasename(argv[0]);
 
        /* read user profile/context */