diff options
author | Eric Blake <ebb9@byu.net> | 2009-11-04 14:02:20 -0700 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-11-05 06:53:21 -0700 |
commit | 41b3a8ed8b2480ca12baaa6c692a7fba3ebd53cf (patch) | |
tree | a75c662443607e08f1d457081957bd4cf25bdbc1 /NEWS | |
parent | cd65f11c4f5fbfff1f35df56d8afa708c8ac2066 (diff) | |
download | coreutils-41b3a8ed8b2480ca12baaa6c692a7fba3ebd53cf.tar.xz |
mktemp: don't leave file behind on write failure
* src/mktemp.c (main): Remove just-created file if stdout had
problems.
* bootstrap.conf (gnulib_modules): Add remove.
* tests/misc/close-stdout: Test it.
* NEWS: Document it.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -20,6 +20,10 @@ GNU coreutils NEWS -*- outline -*- This also affected sum, sha1sum, sha224sum, sha384sum and sha512sum. [the bug dates back to the initial implementation] + mktemp no longer leaves a temporary file behind if it was unable to + output the name of the file to stdout. + [the bug dates back to the initial implementation] + nice -n -1 PROGRAM now runs PROGRAM even when its internal setpriority call fails with errno == EACCES. [the bug dates back to the initial implementation] |