diff options
author | Ondrej Oprala <ooprala@redhat.com> | 2013-02-22 13:48:57 +0100 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2013-02-22 21:31:32 +0100 |
commit | 3a20f6888575be7059e9acac07d397009e98c213 (patch) | |
tree | f550329b8763bd36cf2b4c7c4775873169795e28 /NEWS | |
parent | 6229654741554561952c6106f75681e4382cc890 (diff) | |
download | coreutils-3a20f6888575be7059e9acac07d397009e98c213.tar.xz |
install: cleanup properly if the strip program failed for any reason
* src/install.c (strip): Indicate failure with a return code instead
of terminating the program.
(install_file_in_file): Handle strip's return code and unlink the
created file if necessary.
* tests/install/strip-program.sh: Add a test to cover the changes.
* NEWS (Bug fixes): Mention the fix.
Reported by John Reiser in http://bugzilla.redhat.com/632444.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2,6 +2,13 @@ GNU coreutils NEWS -*- outline -*- * Noteworthy changes in release ?.? (????-??-??) [?] +** Bug fixes + + install now removes the target file if the strip program failed for any + reason. Before, that file was left behind, sometimes even with wrong + permissions. + [This bug was present in "the beginning".] + * Noteworthy changes in release 8.21 (2013-02-14) [stable] |