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

Diff for /src/usr.bin/diff/diff.c between version 1.63 and 1.64

version 1.63, 2015/10/09 01:37:07 version 1.64, 2015/10/26 12:52:27
Line 211 
Line 211 
         argc -= optind;          argc -= optind;
         argv += optind;          argv += optind;
   
         if (getenv("TMPDIR")) {          if (pledge("stdio rpath tmppath", NULL) == -1)
                 if (pledge("stdio rpath wpath cpath", NULL) == -1)                  err(1, "pledge");
                         err(1, "pledge");  
         } else {  
                 if (pledge("stdio rpath tmppath", NULL) == -1)  
                         err(1, "pledge");  
         }  
   
         /*          /*
          * Do sanity checks, fill in stb1 and stb2 and call the appropriate           * Do sanity checks, fill in stb1 and stb2 and call the appropriate

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64