summaryrefslogtreecommitdiff
path: root/man/seq.x
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-11-05 09:05:03 -0700
committerEric Blake <ebb9@byu.net>2009-11-05 13:12:35 -0700
commitdde83c27b4e5c75063c304e5dcfada6950a6d7ee (patch)
treeb68f465970a1e87931fdd8a29769a019e341ac57 /man/seq.x
parent20e5a0d562cf698fab7be3d04c5f1c356faa2dbb (diff)
downloadcoreutils-dde83c27b4e5c75063c304e5dcfada6950a6d7ee.tar.xz
mktemp: use more robust means to avoid double-close of stdout
Reverts earlier patch - fflush() can succeed but fclose() fail for some cases of write failures, and we want to catch those. * src/mktemp.c (stdout_closed): New variable. (maybe_close_stdout): New function, borrowed from dd.c. (main): Track whether stdout has been closed.
Diffstat (limited to 'man/seq.x')
0 files changed, 0 insertions, 0 deletions