summaryrefslogtreecommitdiff
path: root/m4/memchr.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-02 19:41:35 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-02 19:41:35 +0000
commit787b4d50d058af57988cd19dae05093d9ae9da09 (patch)
tree96b8c4a43dd6070b5620811b18010c498c2ee8b7 /m4/memchr.m4
parent97f2714e358cc625e9057f29a320fbd078851741 (diff)
downloadcoreutils-787b4d50d058af57988cd19dae05093d9ae9da09.tar.xz
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.
Diffstat (limited to 'm4/memchr.m4')
0 files changed, 0 insertions, 0 deletions