summaryrefslogtreecommitdiff
path: root/lib/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-07-28 22:21:33 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-07-28 22:21:33 +0000
commitef6b50199e0cd1f9604731ca86d69a6338f588ac (patch)
tree8b18d52aaf97ec4b8ba91d70bc399e17a22b5a03 /lib/ChangeLog
parent8792823f5c687e91ac04ebedf74661e908e2572b (diff)
downloadcoreutils-ef6b50199e0cd1f9604731ca86d69a6338f588ac.tar.xz
memchr and memrchr portability fixes.
Diffstat (limited to 'lib/ChangeLog')
-rw-r--r--lib/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index bfcc4d095..45dac2030 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,13 @@
2004-07-28 Paul Eggert <eggert@cs.ucla.edu>
+ * 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.
+ (alignof, UNALIGNEDP): New macro, portable to all C89 hosts.
+ (__memchr): Don't assume unsigned long int is either 4 or 8 bytes;
+ let it be any number of bytes greater than or equal to 4.
+ * memrchr.c: Likewise, with __memrchr.
+
* md5.h: Include <stdint.h> if HAVE_STDINT_H || _LIBC, not
ifdef _LIBC.
(md5_uint32): Use uint32_t if available. Simplify fallback ifdefs.