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

Diff for /src/usr.bin/mktemp/mktemp.c between version 1.21 and 1.22

version 1.21, 2015/10/07 06:43:15 version 1.22, 2015/10/09 01:37:08
Line 38 
Line 38 
         char *cp, *template, *tempfile, *prefix = _PATH_TMP;          char *cp, *template, *tempfile, *prefix = _PATH_TMP;
         size_t len;          size_t len;
   
         if (tame("stdio rpath wpath cpath", NULL) == -1)          if (pledge("stdio rpath wpath cpath", NULL) == -1)
                 err(1, "tame");                  err(1, "pledge");
   
         while ((ch = getopt(argc, argv, "dp:qtu")) != -1)          while ((ch = getopt(argc, argv, "dp:qtu")) != -1)
                 switch(ch) {                  switch(ch) {

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