summaryrefslogtreecommitdiff
path: root/include/fts.h
AgeCommit message (Collapse)Author
2010-09-24Bump fts_level from short to int and add a spare short so thingsTodd C. Miller
line up nicely. OK deraadt@
2009-08-27Don't stop traversing a directory hierarchy if we reach SHRT_MAX,Todd C. Miller
just stop updating fts_level so we don't overflow it. This allows rm, find, etc to operate on very deep hierarchies. Consumers of fts(3) do need to be aware that the actual level may be larger than fts_level. During the next libc major bump we will make fts_level an int instead of a short. OK deraadt@
2005-06-17bye bye whiteoutsTodd C. Miller
2004-01-22Remove unnecessary typedef usage.Marc Espie
u_char -> unsigned char u_short -> unsigned short u_long -> unsigned long u_int -> unsigned int okay millert@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-05-15Make path length variables size_t. This fixes the problem whereTodd C. Miller
things like rm can't remove files with ridiculously long path names that were created by some script kiddie trying in vain to exploit something. Previously, the length was effectively constrained to USHRT_MAX due to one of the internal structs. Also, nuke FTS_CHDIRROOT since it never worked correctly and hasn't been documented for a long time.
1999-10-03put back FTS_CHDIRROOT until next library major number crankTodd C. Miller
1999-10-03kill FTS_CHDIRROOT flag, it is broken beyond repair and no longer usedTodd C. Miller
1997-09-21Well, as we are heading for a release people are encouraged to rebuild theirNiklas Hallqvist
entire trees for testing anyway, I might as well do this intrusive touching of include files now. Added openBSD tags.
1997-09-01Fix problem with ``find -execdir'' not having the correct initial cwd.Todd C. Miller
Adds a new flag to fts(3).
1995-10-18initial import of NetBSD treeTheo de Raadt