summaryrefslogtreecommitdiff
path: root/lib/fts_.h
AgeCommit message (Collapse)Author
2004-09-02(FTSENT): Use "unsigned short int" rather than the unportable "u_short".Paul Eggert
2004-08-02Add an FSF copyright notice, since our changes are becoming nontrivial.Paul Eggert
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.
2003-12-19Include hash.h and cycle-check.h.Jim Meyering
(FTS_TIGHT_CYCLE_CHECK): New value. (FTS_OPTIONMASK): Adjust to include the new value. (FTS_NAMEONLY, FTS_STOP): Increase to allow room for new value. (struct FTS) [active_dir_ht]: New member. Replaces fts_dir_signatures. (struct FTS) [cycle_state]: New member.
2003-12-12add FIXMEJim Meyering
2003-12-12(FTS) [fts_dir_signatures]: Add comment.Jim Meyering
2003-10-25Include <features.h> only if _LIBC.Jim Meyering
[!_LIBC]: Define-away __THROW, __BEGIN_DECLS, __END_DECLS.
2003-10-02Don't require that the maximum length of a file nameJim Meyering
encountered in a traversal fit in an `unsigned short', and fix some portability bugs (don't depend on gcc). [FTS] (fts_pathlen): Change type from int to size_t. [FTSENT] (fts_pathlen): Change type from u_short to size_t. (fts_level): Change type from u_short to int.
2003-02-24filter through cppiJim Meyering
2003-02-24[__USE_FILE_OFFSET64]: Remove #error directive.Jim Meyering
2003-02-24[struct FTS] (fts_dir_signatures): New, opaque member.Jim Meyering
2003-02-24virgin copy from glibcJim Meyering
2003-02-13hacked from the versions in glibcJim Meyering