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

Diff for /src/usr.bin/tr/tr.c between version 1.18 and 1.19

version 1.18, 2015/10/06 13:49:33 version 1.19, 2015/10/09 01:37:09
Line 87 
Line 87 
         int ch, cnt, lastch, *p;          int ch, cnt, lastch, *p;
         int cflag, dflag, sflag, isstring2;          int cflag, dflag, sflag, isstring2;
   
         if (tame("stdio", NULL) == -1)          if (pledge("stdio", NULL) == -1)
                 err(1, "tame");                  err(1, "pledge");
   
         cflag = dflag = sflag = 0;          cflag = dflag = sflag = 0;
         while ((ch = getopt(argc, argv, "Ccds")) != -1)          while ((ch = getopt(argc, argv, "Ccds")) != -1)

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19