1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-26 02:30:35 +02:00

uintptr_t and uint32_t port to Solaris 8.

This commit is contained in:
Paul Eggert
2004-08-02 05:26:59 +00:00
parent 08eeecbbbb
commit 2f2165dc9e
3 changed files with 32 additions and 0 deletions
+9
View File
@@ -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.
+15
View 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>.
+8
View 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