diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-05-30 07:37:02 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-05-30 07:37:02 +0000 |
commit | 53d65098460fca7a23b521be7b505b62a8570af7 (patch) | |
tree | 040b893b88de9cc05ab0699f32e7d12e204fc320 | |
parent | 3ada325679ff3f85cfee8a1319826d63224934c3 (diff) | |
download | coreutils-53d65098460fca7a23b521be7b505b62a8570af7.tar.xz |
_POSIX_VERSION cleanup
-rw-r--r-- | ChangeLog | 23 | ||||
-rw-r--r-- | lib/ChangeLog | 17 |
2 files changed, 39 insertions, 1 deletions
@@ -1,7 +1,28 @@ -2005-05-27 Paul Eggert <eggert@cs.ucla.edu> +2005-05-29 Paul Eggert <eggert@cs.ucla.edu> * Version 5.3.1. + * src/chgrp.c (getgrnam) [!defined _POSIX_VERSION]: Remove decl. + * src/chown-core.c (getgrnam, getgrgid) [!defined _POSIX_VERSION]: + Remove decls. + * src/cp.c (geteuid) [!defined _POSIX_VERSION]: Remove decl. + * src/id.c (getpwuid, getgrgid, getuid, getgid, geteuid, getegid) + [!defined _POSIX_VERSION]: Remove decls. + * src/install.c (getpwnam, getgrnam): Remove decl. + (getuid, getgid) [!defined _POSIX_VERSION]: Remove decls. + * src/md5sum.c (OPENOPTS, TEXT1T01, TEXTCNVT): Remove. + (digest_file): Use O_BINARY-using expr instead of OPENOPTS. + * src/system.h: Don't bother mentioning _POSIX_VERSION in comment. + * src/test.c: Include sys/param.h if it exists, not if _POSIX_VERSION + isn't defined. + Don't include <sys/file.h>; no longer needed. + (getegid, geteuid): Remove no-longer-necessary decls. + + * src/pathchk.c (_POSIX_PATH_MAX) [!defined _POSIX_PATH_MAX]: + Define to 256, not 255, as per modern POSIX. + +2005-05-27 Paul Eggert <eggert@cs.ucla.edu> + * NEWS: dd seek=N now conforms to POSIX if the output isn't seekable. * src/dd.c (skip): Return the number of records that were not skipped due to encountering EOF. diff --git a/lib/ChangeLog b/lib/ChangeLog index e092117bd..5ccb69724 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,20 @@ +2005-05-30 Paul Eggert <eggert@cs.ucla.edu> + + * euidaccess.c (getuid, getgid, getuid, getegid) + [!defined _POSIX_VERSION]: Remove decls; not needed these days. + * idcache.c (getpwuid, getpwnam, getgrgid, getgrnam) + [!defined _POSIX_VERSION]: Remove decls; not needed these days. + * pathmax.h: Include <limits.h> unconditionally, since other + files have been getting away with it for years (MORE/BSD 4.3 + is extinct now). + * userspec.c (getpwnam, getgrnam, getgrgid) + [!defined _POSIX_VERSION]: Remove decls; not needed these days. + +2005-05-29 Paul Eggert <eggert@cs.ucla.edu> + + * pathmax.h (_POSIX_PATH_MAX) [!defined _POSIX_PATH_MAX]: + Define to 256, not 255, as per modern POSIX. + 2005-05-27 Paul Eggert <eggert@cs.ucla.edu> * fts.c: Don't worry about debugging on pre-C99-comopatible hosts; |