diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-28 23:06:25 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-28 23:06:25 +0000 |
commit | 3badaccae1d47fc7265dd66edc8c707f23607320 (patch) | |
tree | 5fe7b5782d8a7a7c62994534ca00593a5b64ce1a | |
parent | a07018a24d56aff4aadddd5cf16e2cfb3f6b29d8 (diff) | |
download | coreutils-3badaccae1d47fc7265dd66edc8c707f23607320.tar.xz |
userspec.c cleanup, e.g. for "chown 010 file".
-rw-r--r-- | lib/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 45dac2030..e3d5dfc92 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,5 +1,14 @@ 2004-07-28 Paul Eggert <eggert@cs.ucla.edu> + * userspec.c: Include <stdbool.h>, "inttostr.h". + (V_STRDUP): Don't assume the string's length fits in int. + (ISDIGIT): unsigned -> unsigned int + (is_number): Define only ifdef __DJGPP__; not needed elsewhere. + Use bool instead of int where appropriate. + Do not allow empty strings. + (parse_user_spec): Parse numbers as decimal integers, even if + they have a leading 0. Don't assume uids and gids fit in int. + * memchr.c: Include <stddef.h>, not <stdlib.h> and <sys/types.h>. (LONG_MAX_32_BITS): Remove. Include <inttypes.h> and <stdint.h> if available. |