summaryrefslogtreecommitdiff
path: root/lib/fts_.h
AgeCommit message (Collapse)Author
2005-06-02Don't use "path" or "filename" to mean "file name"Paul Eggert
in comments or local variable names.
2005-05-20(_LGPL_PACKAGE) [defined _LIBC]: New macro.Paul Eggert
(FTS): New member fts_cycle, that is a union that contains the old active_dir_ht and cycle_state. All uses changed to mention fts_cycle.ht and fts_cycle.state.
2005-05-18Do not include hash.h or cycle-check.h; no longer needed.Paul Eggert
(FTS): Use struct hash_table * instead of Hash_table, so that we no longer need to include hash.h here.
2005-05-14Update FSF postal mail address.Jim Meyering
2005-05-09(FTS): Use correct type for fts_compar member.Paul Eggert
(FTSENT): New member fts_fts. Remove members fts_ino, fts_dev, fts_nlink; no longer needed now that fts_statp is always there. All uses changed to use fts_statp instead.
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