]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Add an FSF copyright notice, since our changes are becoming nontrivial.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 19:41:35 +0000 (19:41 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 19:41:35 +0000 (19:41 +0000)
commit787b4d50d058af57988cd19dae05093d9ae9da09
tree96b8c4a43dd6070b5620811b18010c498c2ee8b7
parent97f2714e358cc625e9057f29a320fbd078851741
Add an FSF copyright notice, since our changes are becoming nontrivial.
Include stddef.h, for ptrdiff_t.
(FTS.fts_nitems): Now size_t, not int, for hosts that allow more
than INT_MAX entries in a directory.
(FTS_ROOTPARENTLEVEL): Parenthesize properly.
(FTSENT.fts_level): Now ptrdiff_t, not int, to allow recursing more
than INT_MAX levels deep on 64-bit hosts.
(FTSENT.fts_namelen): Now size_t, not u_short, to support hosts like
the Hurd that don't have arbitrary limits on directory entry lengths.
(FTSENT.fts_statp): Now an array, not a pointer, so that we don't
have to play unportable games with pointer arithmetic.  Keep it array
for the benefit of user code that assumes it is a pointer.
lib/fts_.h