[BACK]Return to locale.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / locale

Diff for /src/usr.bin/locale/locale.c between version 1.9 and 1.10

version 1.9, 2015/08/14 14:31:49 version 1.10, 2015/11/19 06:07:16
Line 20 
Line 20 
 #include <string.h>  #include <string.h>
 #include <locale.h>  #include <locale.h>
 #include <unistd.h>  #include <unistd.h>
   #include <err.h>
   
 extern char             *__progname;  extern char             *__progname;
   
Line 178 
Line 179 
         int opt, aflag = 0, mflag = 0;          int opt, aflag = 0, mflag = 0;
   
         setlocale(LC_ALL, "");          setlocale(LC_ALL, "");
   
           if (pledge("stdio rpath", NULL) == -1)
                   err(1, "pledge");
   
         if (argc == 1) {          if (argc == 1) {
                 show_current_locale();                  show_current_locale();

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10