Import OpenBSD's fts.c, rev.1.22. Revision 1.23 is the reinsertion of

a feature we don't use, and is meant to be removed from OpenBSD on the
next library version bump, so this is the second-to-latest version.

This fixes the buffer overflows, bugs, and whatnot that have plagued us
in fts.c for a long time.  Eventually, fts(3) may become something other
than pure evil.

Obtained from:	OpenBSD
This commit is contained in:
Brian Feldman 1999-12-18 04:16:18 +00:00
parent 9e430e8c8a
commit 1c8517dad8

1104
lib/libc/gen/fts.c Normal file

File diff suppressed because it is too large Load diff