From 2f2165dc9ea1f93eaa8d943df9887947757eb55e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 2 Aug 2004 05:26:59 +0000 Subject: [PATCH] uintptr_t and uint32_t port to Solaris 8. --- ChangeLog | 9 +++++++++ lib/ChangeLog | 15 +++++++++++++++ m4/ChangeLog | 8 ++++++++ 3 files changed, 32 insertions(+) diff --git a/ChangeLog b/ChangeLog index f9c3bd5274..d584285450 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2004-08-01 Paul Eggert + * 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. diff --git a/lib/ChangeLog b/lib/ChangeLog index 29133f2b63..20d5a3a422 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,18 @@ +2004-08-01 Paul Eggert + + * 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 . Include 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 * makepath.h: Include . diff --git a/m4/ChangeLog b/m4/ChangeLog index c608116a6d..f5a4fcb0fe 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,11 @@ +2004-08-01 Paul Eggert + + * 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 * md5.m4 (gl_MD5): Do not require AC_C_INLINE, since it doesn't -- 2.47.2