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

Diff for /src/usr.bin/cut/cut.c between version 1.20 and 1.21

version 1.20, 2015/10/05 13:27:45 version 1.21, 2015/10/09 01:37:07
Line 63 
Line 63 
   
         setlocale (LC_ALL, "");          setlocale (LC_ALL, "");
   
         if (tame("stdio rpath", NULL) == -1)          if (pledge("stdio rpath", NULL) == -1)
                 err(1, "tame");                  err(1, "pledge");
   
         dchar = '\t';                   /* default delimiter is \t */          dchar = '\t';                   /* default delimiter is \t */
   
Line 121 
Line 121 
                         }                          }
                 }                  }
         else {          else {
                 if (tame("stdio rpath", NULL) == -1)                  if (pledge("stdio rpath", NULL) == -1)
                         err(1, "tame");                          err(1, "pledge");
                 fcn(stdin, "stdin");                  fcn(stdin, "stdin");
         }          }
         exit(rval);          exit(rval);

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21