summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-09-18 22:09:49 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-09-18 22:09:49 +0000
commit0e3b87195ab0820d228cda986ac916d52b696aff (patch)
treeaa59e32593d2e666b9afdc509704b4e38013f9f5 /ChangeLog
parentbebf83d0fd198ea199f6df9684141d284b5323e2 (diff)
downloadcoreutils-0e3b87195ab0820d228cda986ac916d52b696aff.tar.xz
Fix bug where chmod, chown, and chgrp did not process operands
left-to-right in some cases. * src/chmod.c (wd_errno): New var. (chmod_file): New function, with most of the contents of the old prcess_file function. (process_files): Use it. This gives file names to fts one at a time, so that they are processed left-to-right as POSIX requires. * src/chown-core.c (wd_errno, chown_files): Likewise. (chown_file): New function. * tests/install/basic-1: Redo test so as to not workaround the chmod bug, thereby testing for it.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f741fbe6..d51b10411 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
2006-09-18 Paul Eggert <eggert@cs.ucla.edu>
+ Fix bug where chmod, chown, and chgrp did not process operands
+ left-to-right in some cases.
+ * src/chmod.c (wd_errno): New var.
+ (chmod_file): New function, with most of the contents of the
+ old prcess_file function.
+ (process_files): Use it. This gives file names to fts one
+ at a time, so that they are processed left-to-right as POSIX
+ requires.
+ * src/chown-core.c (wd_errno, chown_files): Likewise.
+ (chown_file): New function.
+ * tests/install/basic-1: Redo test so as to not workaround
+ the chmod bug, thereby testing for it.
+
* src/shuf.c (main): Quote the entire range when reporting an
invalid one, rather than just the part that contained the error.