diff options
author | Jim Meyering <jim@meyering.net> | 2007-03-08 10:00:55 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-03-08 10:38:59 +0100 |
commit | 2639ed8208c271c105d7f77e23dc8e64f52ca04c (patch) | |
tree | 20f4a52cfa285140d4e905ee6b8783b543b2338e /ChangeLog | |
parent | 09aab8cb41a610c18d56b31a81946dec1ff0a85d (diff) | |
download | coreutils-2639ed8208c271c105d7f77e23dc8e64f52ca04c.tar.xz |
rm without -f: give a better diagnostic when euidaccess fails.
* src/remove.c (write_protected_non_symlink): Return int, not bool,
so that we can indicate failure too (as a postive error number).
(prompt): If write_protected_non_symlink fails, report that error
number and fail rather than charging ahead and removing the dubious
entry. Redo the logic of printing a diagnostic so that we need to
invoke quote (full_filename (...)) only once. More details at:
<http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/9952/focus=9996>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2007-03-08 Paul Eggert <eggert@cs.ucla.edu> + + rm without -f: give a better diagnostic when euidaccess fails. + * src/remove.c (write_protected_non_symlink): Return int, not bool, + so that we can indicate failure too (as a postive error number). + (prompt): If write_protected_non_symlink fails, report that error + number and fail rather than charging ahead and removing the dubious + entry. Redo the logic of printing a diagnostic so that we need to + invoke quote (full_filename (...)) only once. More details at: + <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/9952/focus=9996> + 2007-03-08 Jim Meyering <jim@meyering.net> Generalize a few more cvs-isms. |