summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-02 05:26:59 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-02 05:26:59 +0000
commit2f2165dc9ea1f93eaa8d943df9887947757eb55e (patch)
tree34f356f4f01cb6ac7a19076bd785ce9ea86b91c8
parent08eeecbbbb09e9394d5155ee12e4bd0bd56a2904 (diff)
downloadcoreutils-2f2165dc9ea1f93eaa8d943df9887947757eb55e.tar.xz
uintptr_t and uint32_t port to Solaris 8.
-rw-r--r--ChangeLog9
-rw-r--r--lib/ChangeLog15
-rw-r--r--m4/ChangeLog8
3 files changed, 32 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f9c3bd527..d58428545 100644
--- 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.
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 29133f2b6..20d5a3a42 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -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>.
diff --git a/m4/ChangeLog b/m4/ChangeLog
index c608116a6..f5a4fcb0f 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -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