FS#17382 - [coreutils] 8.1 broken behavior of rm
Attached to Project:
Arch Linux
Opened by Lukas Jirkovsky (6xx) - Friday, 04 December 2009, 15:30 GMT
Last edited by Allan McRae (Allan) - Saturday, 12 December 2009, 10:56 GMT
Opened by Lukas Jirkovsky (6xx) - Friday, 04 December 2009, 15:30 GMT
Last edited by Allan McRae (Allan) - Saturday, 12 December 2009, 10:56 GMT
|
Details
There is a change in rm command:
when you try to remove "" it immediately exits without removing any other specified files. Unfortunately this breaks many scripts and Makefiles because quite many of them use something like: rm a b c "$FOO" "$BAR" This bug causes that if some of the variables is not declared, it will not remove anything. It should have been already fixed in the upstream repository. More info: http://lists.gnu.org/archive/html/bug-coreutils/2009-11/msg00348.html http://lists.gnu.org/archive/html/bug-coreutils/2009-12/msg00004.html |
This task depends upon
Closed by Allan McRae (Allan)
Saturday, 12 December 2009, 10:56 GMT
Reason for closing: Fixed
Additional comments about closing: coreutils-8.2-1
Saturday, 12 December 2009, 10:56 GMT
Reason for closing: Fixed
Additional comments about closing: coreutils-8.2-1
Comment by Thomas Bächler (brain0) -
Friday, 04 December 2009, 15:42 GMT
Comment by Allan McRae (Allan) -
Friday, 04 December 2009, 21:44 GMT
We should apply the upstream patch(es) here to restore the old
behaviour, this has been classified as a regression by upstream
developers.
This is why I have not moved it from [testing]. The patching is
not particularly straight forward and 8.2 is going to be released
soon.