Does xargs need to set LC_MESSAGES?

        Jan


Index: usr.bin/xargs/xargs.c
===================================================================
RCS file: /cvs/src/usr.bin/xargs/xargs.c,v
retrieving revision 1.34
diff -u -p -r1.34 xargs.c
--- usr.bin/xargs/xargs.c       12 Jun 2018 15:24:31 -0000      1.34
+++ usr.bin/xargs/xargs.c       16 Jul 2020 07:40:26 -0000
@@ -42,7 +42,6 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <langinfo.h>
-#include <locale.h>
 #include <paths.h>
 #include <regex.h>
 #include <signal.h>
@@ -85,8 +84,6 @@ main(int argc, char *argv[])
        ep = environ;
        eofstr = "";
        Jflag = nflag = 0;
-
-       (void)setlocale(LC_MESSAGES, "");
 
        /*
         * POSIX.2 limits the exec line length to ARG_MAX - 2K.  Running that

Reply via email to