Return to sort.c CVS log | Up to [local] / src / usr.bin / sort |
version 1.39, 2009/12/22 19:47:02 | version 1.40, 2012/10/30 20:03:16 | ||
---|---|---|---|
|
|
||
(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; | ||