diff options
author | Jim Meyering <jim@meyering.net> | 2006-10-03 13:32:55 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-10-03 13:32:55 +0000 |
commit | 9ac369c2bdea688a5147215440587b03da992535 (patch) | |
tree | c0e293b422d6e4f87e4175cdf85c2ae7e7c02c70 /ChangeLog | |
parent | da9541f18e6985593b73c30d121605e8cff62a7b (diff) | |
download | coreutils-9ac369c2bdea688a5147215440587b03da992535.tar.xz |
* src/remove.c (remove_entry): With -f, exit successfully in spite
of a missing file under some very unusual conditions (with errno
being any of ENOENT, ENOTDIR, ENAMETOOLONG).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,10 +1,15 @@ 2006-10-03 Jim Meyering <jim@meyering.net> + * src/remove.c (remove_entry): With -f, exit successfully in spite + of a missing file under some very unusual conditions (with errno + being any of ENOENT, ENOTDIR, ENAMETOOLONG). + With --force (-f), rm no longer fails for ENOTDIR. * src/remove.c (ignorable_missing): New function. Use it everywhere, rather than open-coding the test. Andreas Schwab reported the ENOTDIR problem. (ignorable_missing): Similarly, don't fail for ENAMETOOLONG. + * NEWS: Mention the bug fix. * tests/rm/ignorable: New file. Test for the ENOTDIR case. * tests/rm/ignore-name-too-long: New file. Test for ENAMETOOLONG. |