summaryrefslogtreecommitdiff
path: root/lib/libc/gen/fts.c
AgeCommit message (Expand)Author
2002-07-12Add a missing check for fts_alloc() returning NULL; Chad LoderTodd C. Miller
2002-06-27%uTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-08-27Zero out entire FTS after allocating it instead of just zeroing outTodd C. Miller
2001-08-03Update sp->fts_cur in fts_read() before returning NULL. ThisTodd C. Miller
2001-05-31Fix another case of CHDIR("..") pointed out by Bruce EvansTodd C. Miller
2001-05-30When changing directory to '..', verify that we really are whereTodd C. Miller
2001-05-15Make path length variables size_t. This fixes the problem whereTodd C. Miller
2000-08-24KNFTheo de Raadt
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
1999-10-03Fix multiple problems in the FTS_NOCHDIR case (mycroft@netbsd.org):Todd C. Miller
1999-08-16If the FTS_NOCHDIR flag is set and the final directory is empty,Todd C. Miller
1999-05-171) Only do pointer adjusting if realloc() changed our pointerTodd C. Miller
1998-08-15fix realloc patchTheo de Raadt
1998-08-14realloc repairTheo de Raadt
1998-07-03do not free() before last ref; kmayer@freegate.comTheo de Raadt
1998-03-19some -WallTodd C. Miller
1997-10-11Replace my trailing slash removal with the one from FreeBSD.Todd C. Miller
1997-10-06Fix bug caused by trailing '/' stripping. Didn't always guarantee NULLTodd C. Miller
1997-09-20Strip trailing '/' from paths. Noted by hermit@cs.tu-berlin.de inTodd C. Miller
1997-09-01Fix problem with ``find -execdir'' not having the correct initial cwd.Todd C. Miller
1997-08-29Minor KNF changes to fts_safe_chdir and recent NetBSD code integrationimp
1997-08-02From NetBSD (phil):Todd C. Miller
1997-07-23trailing blankskstailey
1997-03-24Make sure head, tail, and nitems get zero'd even if weTodd C. Miller
1997-01-17Final fix to make fts(3) spoof-proof.Todd C. Miller
1997-01-14Be extra careful when chdir'ing to subdirs.Todd C. Miller
1996-12-23Back out last change, it is not sufficient.Todd C. Miller
1996-12-23Avoid spoofing when cd'ing to subdirs. First cut.Todd C. Miller
1996-08-19Fix RCS idsThorsten Lockert
1995-10-18initial import of NetBSD treeTheo de Raadt