1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-19 10:15:48 +02:00

"rm -FOO" now suggests "rm ./-FOO" if the file "-FOO"

exists and "-FOO" is not a valid option.
This commit is contained in:
Paul Eggert
2005-08-29 21:14:06 +00:00
parent 6334db91d3
commit b23625f623
2 changed files with 12 additions and 1 deletions

View File

@@ -1,7 +1,15 @@
2005-08-27 Jim Meyering <jim@meyering.net>
2005-08-29 Paul Eggert <eggert@cs.ucla.edu>
* Version 5.3.1-cvs.
* NEWS: "rm -FOO" now suggests "rm ./-FOO" if the file "-FOO"
exists and "-FOO" is not a valid option.
* src/rm.c: Include lstat.h, quotearg.h.
(diagnose_leading_hyphen): New function.
(main): Use it.
2005-08-27 Jim Meyering <jim@meyering.net>
* src/du.c: Go ahead and leave the patch in (i.e., revert
today's change). It doesn't cause a problem after all, since
--exclude-from=- is always handled before --files0-from=F.

3
NEWS
View File

@@ -191,6 +191,9 @@ GNU coreutils NEWS -*- outline -*-
If stdin is a terminal, nohup now redirects it from /dev/null to
prevent the command from tying up an OpenSSH session after you logout.
"rm -FOO" now suggests "rm ./-FOO" if the file "-FOO" exists and
"-FOO" is not a valid option.
stat -f -c %S outputs the fundamental block size (used for block counts).
stat -f's default output format has been changed to output this size as well.
stat -f recognizes file systems of type XFS and JFS