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

Diff for /src/usr.bin/who/who.c between version 1.30 and 1.31

version 1.30, 2021/07/12 15:09:20 version 1.31, 2021/11/10 15:06:24
Line 44 
Line 44 
 #include <unistd.h>  #include <unistd.h>
 #include <time.h>  #include <time.h>
 #include <err.h>  #include <err.h>
 #include <locale.h>  
   
 void  output(struct utmp *);  void  output(struct utmp *);
 void  output_labels(void);  void  output_labels(void);
Line 71 
Line 70 
         FILE *ufp;          FILE *ufp;
         char *t;          char *t;
         int c;          int c;
   
         setlocale(LC_ALL, "");  
   
         if (pledge("stdio unveil rpath getpw", NULL) == -1)          if (pledge("stdio unveil rpath getpw", NULL) == -1)
                 err(1, "pledge");                  err(1, "pledge");

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31