Michael Meskes <mich...@fam-meskes.de> wrote: > I just received a bug report against an old stat version but also looked into > the up-to-date (6.10) one that fixed most of it. However, I wonder whether > line > 550 in stat.c > > out_int (pformat, prefix_len, statfsbuf->f_files); > > should better be > > out_uint (pformat, prefix_len, statfsbuf->f_files);
Hi Michael, Thanks, but "man statfs" on linux-based systems shows it can be signed: struct statfs { long f_type; /* type of filesystem (see below) */ long f_bsize; /* optimal transfer block size */ long f_blocks; /* total data blocks in file system */ long f_bfree; /* free blocks in fs */ long f_bavail; /* free blocks avail to non-superuser */ long f_files; /* total file nodes in file system */ long f_ffree; /* free file nodes in fs */ fsid_t f_fsid; /* file system id */ long f_namelen; /* maximum length of filenames */ }; BTW, the latest test release is 7.0 and latest stable is 6.12. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils