summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-07-28 23:39:12 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-07-28 23:39:12 +0000
commit3a92cf062b102337fb2aada9570d6271b7f39ba6 (patch)
tree2795ffe8bc283f03487b51ca685fd6abb5b9e355 /ChangeLog
parentd73c456b2ef9ab350ee10b25e8d9bbc2459f32bb (diff)
downloadcoreutils-3a92cf062b102337fb2aada9570d6271b7f39ba6.tar.xz
chown/chgrp cleanup.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 85622228f..676ac0346 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,22 @@
2004-07-28 Paul Eggert <eggert@cs.ucla.edu>
+ * src/chgrp.c (parse_group): Require base 10 when parsing
+ groups as integers.
+ (main): int -> bool when appropriate.
+ * src/chown.c (main): Likewise.
+ * src/chown-core.c: Include inttostr.h.
+ (UINT_MAX_DECIMAL_DIGITS, uint_to_string): Remove.
+ (gid_to_name, uid_to_name): Use imaxtostr/umaxtostr
+ instead of uint_to_string).
+ (describe_change): Instead of an int flag, use a char *
+ auxiliary; this avoids the need for casts.
+ Assume free (NULL) works.
+ (change_file_owner): Return true/false, not 0/-1, since
+ we don't set errno. All callers changed.
+ Use bool when appropriate.
+ (chown_files): Likewise.
+ * src/chown-core.h (chown_files): Likewise.
+
* tests/chown/basic: Test for proper handling of uids like
"010", which must be parsed as decimal.