Paul Eggert wrote: > 2006-08-23 Paul Eggert <[EMAIL PROTECTED]> > > * src/stat.c (HAVE_STRUCT_STATXFS_F_FSID___VAL): Define. This > macro was being used without being defined.
Compiling the current coreutils CVS on MacOS X 10.3.9 now gives this error: stat.c: In function `print_statfs': stat.c:416: error: incompatible types in initialization Preprocessed output snippet: # 416 "stat.c" unsigned long long int fsid = statfsbuf->f_fsid; The reason is that fsid_t is defined like this: typedef struct fsid { int32_t val[2]; } fsid_t; The code that tests HAVE_STRUCT_STATXFS_F_FSID___VAL should also have an alternative that tests HAVE_STRUCT_STATXFS_F_FSID_VAL (and augment stat-prog.m4 accordingly). Bruno