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

Diff for /src/usr.bin/sort/sort.c between version 1.39 and 1.40

version 1.39, 2009/12/22 19:47:02 version 1.40, 2012/10/30 20:03:16
Line 281 
Line 281 
                 (void)umask(um);                  (void)umask(um);
                 if ((outfd = mkstemp(toutpath)) == -1 ||                  if ((outfd = mkstemp(toutpath)) == -1 ||
                     fchmod(outfd, DEFFILEMODE & ~um) == -1 ||                      fchmod(outfd, DEFFILEMODE & ~um) == -1 ||
                     (outfp = fdopen(outfd, "w")) == 0)                      (outfp = fdopen(outfd, "w")) == NULL)
                         err(2, "%s", toutpath);                          err(2, "%s", toutpath);
                 outfile = toutpath;                  outfile = toutpath;
   

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40