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

Diff for /src/usr.bin/from/from.c between version 1.26 and 1.27

version 1.26, 2018/08/08 17:52:46 version 1.27, 2020/05/29 07:16:50
Line 81 
Line 81 
   
         if (unveil(file, "r") == -1)          if (unveil(file, "r") == -1)
                 err(1, "unveil");                  err(1, "unveil");
         if (pledge("stdio rpath getpw", NULL) == -1)          if (pledge("stdio rpath", NULL) == -1)
                 err(1, "pledge");                  err(1, "pledge");
   
         if ((fp = fopen(file, "r")) == NULL) {          if ((fp = fopen(file, "r")) == NULL) {

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27