From ce487455bd749e6542f918f647ff846aa581c73c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 9 Jun 2004 13:37:58 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 07865c6434..375069ba0b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,38 @@ -2004-05-20 Paul Eggert +2004-06-09 Jim Meyering + + * src/chmod.c (mode_changed): Return false, not 0, now that the + function returns `bool'. + +2004-06-08 Paul Eggert * Version 5.3.0. + Adjust chmod and chown to be similar if -c or -v are given. In + particular, a no-op chown is no longer reported as a change; this + reverts to previous behavior. Also, fix both commands so that -v + report failures even if the failure is not due to the chmod or + chown syscalls. + + * src/chmod.c (CH_NOT_APPLIED): New constant. + (describe_change): Handle it. + (process_file): Use it, if a symlink wasn't changed. + (mode_changed): Return bool, not int. Accept new argument + NEW_MODE; all callers changed. This lets us avoid statting the + file unless the new mode has unusual bits. + (process_file): Return -1 on error. With -v, report all errors + verbosely, not just some. + + * src/chown-core.c (change_file_owner): Return -1 on error, not + 1 sometimes and -1 on others. Our caller ORs together our results, + and (-1 | 1) == 0 on ones-complement hosts. + With -v report all errors verbosely, not just some. + Fix bug when chopt->root_dev_ino && !chopt->affect_symlink_referent: + file_stats wasn't set properly in that case. + + * tests/chgrp/basic: Adjust to above changes. + +2004-05-20 Paul Eggert + * tests/chgrp/basic: Test that chgrp -h does not fail on symlinks, even on hosts where that's not supported. Test that if -R is specified without -H or L, -h is assumed. -- 2.47.3