diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-09-18 22:09:49 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-09-18 22:09:49 +0000 |
commit | 0e3b87195ab0820d228cda986ac916d52b696aff (patch) | |
tree | aa59e32593d2e666b9afdc509704b4e38013f9f5 /bootstrap | |
parent | bebf83d0fd198ea199f6df9684141d284b5323e2 (diff) | |
download | coreutils-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 'bootstrap')
0 files changed, 0 insertions, 0 deletions