From: Paul Eggert Date: Wed, 28 Jul 2004 20:11:45 +0000 (+0000) Subject: md5, sha1 cleanups; getugroups change. X-Git-Tag: v5.3.0~1043 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f09a96f972604d736bd3c818b5f27362f762e1e;p=thirdparty%2Fcoreutils.git md5, sha1 cleanups; getugroups change. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index a3b5e953cc..bfcc4d095e 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,21 @@ +2004-07-28 Paul Eggert + + * md5.h: Include if HAVE_STDINT_H || _LIBC, not + ifdef _LIBC. + (md5_uint32): Use uint32_t if available. Simplify fallback ifdefs. + * md5.c: Don't include or ; + suffices with C89 or better. + (alignof): New macro, portable to all C89 hosts. + (UNALIGNED): Use it. Use uintptr_t if available, and assume + everything is unaligned otherwise; this is more portable than + assuming 'unsigned long int' will always work. + * sha1.c: Likewise. + + * getugroups.c: Include . + (EOVERFLOW): Define if not defined. + (getgroups): Return -1 with errno=EOVERFLOW if an integer overflow + occurs. + 2004-07-27 Paul Eggert * euidaccess.c [HAVE_LIBGEN_H]: Include , for