]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Change "rm --verbose -r a//" not to print extra slashes in a///b
authorJim Meyering <jim@meyering.net>
Wed, 22 Aug 2007 18:02:34 +0000 (20:02 +0200)
committerJim Meyering <jim@meyering.net>
Wed, 22 Aug 2007 18:02:34 +0000 (20:02 +0200)
commit0918810a7d1433ebfc4f8cda4e50303f99425006
tree44ebd258fa8b5ebcab011a8aa5d4bd408a81c62b
parent55539fc6bd772c4c0f80e0a2e17867294b91014d
Change "rm --verbose -r a//" not to print extra slashes in a///b
* src/remove.c (push_dir): Don't copy trailing slashes onto the stack.
Reported by François Pinard.
* tests/rm/v-slash: New file.  Test for the above change.
* tests/rm/Makefile.am (TESTS): Add v-slash.
ChangeLog
src/remove.c
tests/rm/Makefile.am
tests/rm/v-slash [new file with mode: 0755]