<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/stat.c, branch v6.2</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.2</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2006-09-01T22:07:18Z</updated>
<entry>
<title>Fix typo in previous change; an unsigned int wasn't converted to</title>
<updated>2006-09-01T22:07:18Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-09-01T22:07:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=670a4672c9f89d8acb4e7db6a268273e9fe8442c'/>
<id>urn:sha1:670a4672c9f89d8acb4e7db6a268273e9fe8442c</id>
<content type='text'>
uintmax_t at the right time.  Problem reported by Bruno.
</content>
</entry>
<entry>
<title>* m4/jm-macros.m4 (gl_MACROS): Call cu_PREREQ_STAT_PROG rather</title>
<updated>2006-09-01T19:40:46Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-09-01T19:40:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=93c30a24c4fb8febda104090d5acec1f59a5a15f'/>
<id>urn:sha1:93c30a24c4fb8febda104090d5acec1f59a5a15f</id>
<content type='text'>
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 &lt;stddef.h&gt;
(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.
</content>
</entry>
<entry>
<title>* src/stat.c (HAVE_STRUCT_STATXFS_F_FSID_VAL, FSID_VAL): New macros, to</title>
<updated>2006-08-29T21:53:29Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-29T21:53:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ddb97ab3b1a6477309f46f5b240fc5ddae8d340a'/>
<id>urn:sha1:ddb97ab3b1a6477309f46f5b240fc5ddae8d340a</id>
<content type='text'>
work around a Mac OS X porting problem reported by Bruno Haible in
&lt;http://lists.gnu.org/archive/html/bug-coreutils/2006-08/msg00308.html&gt;.
(print_statfs): Use them.
* m4/stat-prog.m4 (cu_PREREQ_STAT_PROG): Check for __val versus val
components of fsid.  Omit some checks that stat.c doesn't care about.
</content>
</entry>
<entry>
<title>* src/stat.c (print_statfs): Fix typo: remove extra "sizeof".</title>
<updated>2006-08-24T21:47:37Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-08-24T21:47:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=03a5310540fbc082eb409db77013cdd74c90f4ae'/>
<id>urn:sha1:03a5310540fbc082eb409db77013cdd74c90f4ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>* src/stat.c (HAVE_STRUCT_STATXFS_F_FSID___VAL): Define.  This</title>
<updated>2006-08-23T23:40:21Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-23T23:40:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=69fdccfb29972c011fe4029acfe3267c30d17d40'/>
<id>urn:sha1:69fdccfb29972c011fe4029acfe3267c30d17d40</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>the patch from 2006-08-18 broke on cygwin.</title>
<updated>2006-08-20T15:17:27Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-20T15:17:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b57f08306e54b560fcbd7ca0d3ade319824f9eee'/>
<id>urn:sha1:b57f08306e54b560fcbd7ca0d3ade319824f9eee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add support for NetBSD 3.0.</title>
<updated>2006-08-18T18:36:04Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-18T18:36:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5f57935678613334bfa18ee547cb1f22a3a0a7dd'/>
<id>urn:sha1:5f57935678613334bfa18ee547cb1f22a3a0a7dd</id>
<content type='text'>
* src/stat.c (USE_STATVFS): Set to 1 if 'struct statvfs' has a field
f_fstypename.
(STATXFS_FILE_SYSTEM_TYPE_MEMBER_NAME): Define also if 'struct statvfs'
has a field f_fstypename.
This undoes the 2006-08-15 to src/stat.c.
* lib/mountlist.c [MOUNTED_GETMNTINFO2]: Include sys/statvfs.h.
(ME_DUMMY): Treat "kernfs" as a dummy.
(read_file_system_list) [MOUNTED_GETMNTINFO2]: Implement.
* m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Also check for
sys/statvfs.h. When getmntinfo was found, check its declaration and
set either MOUNTED_GETMNTINFO or MOUNTED_GETMNTINFO2 depending on it.
* m4/stat-prog.m4 (cu_PREREQ_STAT_PROG): Test also for f_fstypename
in struct statvfs.
</content>
</entry>
<entry>
<title>(USE_STATVFS): Define to 0 if f_type is needed, but</title>
<updated>2006-08-15T23:23:28Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-15T23:23:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5ce0b45a43fc2de8862a439b6e6281fdd55e27ed'/>
<id>urn:sha1:5ce0b45a43fc2de8862a439b6e6281fdd55e27ed</id>
<content type='text'>
statvfs.f_type not present.
</content>
</entry>
<entry>
<title>(print_it): Don't assume char is unsigned.</title>
<updated>2006-07-09T17:07:12Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-07-09T17:07:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b3e1ad7a5d972ee947831e9d943a12c239864e72'/>
<id>urn:sha1:b3e1ad7a5d972ee947831e9d943a12c239864e72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(human_access): Use (new) filemodestring rather than</title>
<updated>2006-04-17T23:23:43Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-04-17T23:23:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d918aff890c261d38cce047461a4172c74718554'/>
<id>urn:sha1:d918aff890c261d38cce047461a4172c74718554</id>
<content type='text'>
(old) mode_string, so that we get more file types right, at least
in theory.  Adjust to filemode changes.
</content>
</entry>
</feed>
