]> git.ipfire.org Git - thirdparty/coreutils.git/commit
* src/stat.c (HAVE_STRUCT_STATXFS_F_FSID___VAL): Define. This
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Aug 2006 23:40:21 +0000 (23:40 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Aug 2006 23:40:21 +0000 (23:40 +0000)
commit69fdccfb29972c011fe4029acfe3267c30d17d40
tree995108a1c739bb8da85c89110695ac79bc5c02e4
parent882c0d8d35d1b2340cef61f2c36896e631b9273c
* src/stat.c (HAVE_STRUCT_STATXFS_F_FSID___VAL): Define.  This
macro was being used without being defined.
(SB_F_NAMEMAX): Remove cast.
(f_fsid) [BeOS]: Likewise.
(OUT_NAMEMAX): Renamed from NAMEMAX_FORMAT, with a new meaning.
All uses changed.
(out_string, out_int, out_uint, out_uint_o, out_uint_x): New
functions.
(xstrcat): Remove.  All uses changed to use the above functions.
(print_statfs, print_stat): 2nd arg is now the prefix len, not the
buffer len.  All uses changed.  Output '?', not '*', for unknown
data or errors.  Do not assume signed values can be interchanged
with unsigned when printing.
(print_statfs): For %i, print the fsid as a single int, not as a
pair.
(print_it): Quote invalid format better.
(STRUCT_STATVFS, statfs, f_fsid, f_blocks, f_bfree) [BeOS]:
(f_bavail, f_bsize, STATFS_FRSIZE, f_files, f_ffree) [BeOS]:
(STATXFS_FILE_SYSTEM_TYPE_MEMBER_NAME) [BeOS]: Define.
ChangeLog
src/stat.c