diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-09-01 19:40:46 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-09-01 19:40:46 +0000 |
commit | 93c30a24c4fb8febda104090d5acec1f59a5a15f (patch) | |
tree | 51dc1c5b851de849723c5de1716e7e4c2e49dff9 /ChangeLog | |
parent | ddb97ab3b1a6477309f46f5b240fc5ddae8d340a (diff) | |
download | coreutils-93c30a24c4fb8febda104090d5acec1f59a5a15f.tar.xz |
* m4/jm-macros.m4 (gl_MACROS): Call cu_PREREQ_STAT_PROG rather
than AC_REQUIREing, so that sys/mount.h isn't tested for after
the test result. I'm not sure why this fix is needed, but it
works.
* m4/stat-prog.m4 (cu_PREREQ_STAT_PROG): Revamp to reflect better
what stat.c actually needs.
* src/stat.c: Include <stddef.h>
(alignof): New macro.
(HAVE_STRUCT_STATXFS_F_FSID___VAL, HAVE_STRUCT_STATXFS_F_FSID_VAL):
Remove.
(STRUCT_STATXFS_F_FSID_IS_INTEGER): New macro.
(FSID_VAL): Remove.
(print_statfs): If f_fsid isn't an integer, grab its words one
at a time in little-endian order. This is a bit easier to configure
and should avoid a compilation failure on MacOS reported by Bruno
Haible.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +2006-09-01 Paul Eggert <eggert@cs.ucla.edu> + + * src/stat.c: Include <stddef.h> + (alignof): New macro. + (HAVE_STRUCT_STATXFS_F_FSID___VAL, HAVE_STRUCT_STATXFS_F_FSID_VAL): + Remove. + (STRUCT_STATXFS_F_FSID_IS_INTEGER): New macro. + (FSID_VAL): Remove. + (print_statfs): If f_fsid isn't an integer, grab its words one + at a time in little-endian order. This is a bit easier to configure + and should avoid a compilation failure on MacOS reported by Bruno + Haible. + 2006-08-29 Paul Eggert <eggert@cs.ucla.edu> * src/stat.c (HAVE_STRUCT_STATXFS_F_FSID_VAL, FSID_VAL): New macros, to |