uintptr_t and uint32_t port to Solaris 8.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 05:26:59 +0000 (05:26 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 05:26:59 +0000 (05:26 +0000)
ChangeLog
lib/ChangeLog
m4/ChangeLog

index f9c3bd5..d584285 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2004-08-01  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * src/cut.c (hash_int) [!defined UINTPTR_MAX]: Use size_t
+       instead of uintptr_t.
+       * src/shred.c (UINT_MAX_32_BITS): Remove.
+       (word32): Remove.  All uses changed to uint32_t.
+       (isaac_seed_data): Remove unnecessary cast.
+       * src/system.h (ptr_align): Use size_t; in practice, this is just as
+       good as uintptr_t in checking for alignments, and has fewer
+       configuration hassles.
+
        * src/Makefile.am (localedir.h): Make it readonly; this
        undoes part of the 2004-07-27 patch.
 
index 29133f2..20d5a3a 100644 (file)
@@ -1,3 +1,18 @@
+2004-08-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * md5.c (UNALIGNED_P): Use size_t; in practice, this is just as
+       good as uintptr_t in checking for alignments, and has fewer
+       configuration hassles.
+       * sha1.c (UNALIGNED_P): Likewise.
+       * md5.h: Don't include <limits.h>.  Include <inttypes.h> if available,
+       as it defines symbols like UINT32_MAX on Solaris 8.
+       (md5_uint32): Assume uint32_t exists; Autoconf will define it
+       otherwise (if the host has a 32-bit unsigned type, anyway).
+       * memchr.c: Don't include inttypes.h or stdint.h.
+       (UNALIGNED_P): Remove.
+       (__memchr): Use size_t, not uintptr_t, to test alignment.
+       * memrchr.c: Likewise, for __memrchr.
+
 2004-07-30  Paul Eggert  <eggert@cs.ucla.edu>
 
        * makepath.h: Include <stdbool.h>.
index c608116..f5a4fcb 100644 (file)
@@ -1,3 +1,11 @@
+2004-08-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * jm-macros.m4 (gl_CHECK_ALL_TYPES):
+       Require gl_AC_TYPE_UINTPTR_T instead of using AC_CHECK_TYPE
+       on uintptr_t.  Require gl_AC_TYPE_UINT32_T.
+       * md5.m4 (gl_MD5): Require gl_AC_TYPE_UINT32_T.
+       * uint32_t.m4, uintptr_t.m4: New files.
+
 2004-07-28  Paul Eggert  <eggert@cs.ucla.edu>
 
        * md5.m4 (gl_MD5): Do not require AC_C_INLINE, since it doesn't