summaryrefslogtreecommitdiff
path: root/lib/libc/gen/fts.c
AgeCommit message (Expand)Author
2010-09-24Bump fts_level from short to int and add a spare short so thingsTodd C. Miller
2009-08-27Don't stop traversing a directory hierarchy if we reach SHRT_MAX,Todd C. Miller
2009-02-11Avoid level going negative on deep (i mean really deep) dirs. ReportedOtto Moerbeek
2008-12-27Fix file descriptor leak in fts_children(); okay dhill@, millert@,Pedro Martelletto
2007-11-06malloc/memset -> callocCharles Longeau
2007-11-02Simplify some of the logic in fts_close(). Initially based on aTodd C. Miller
2007-01-08fix mem leak, from NetBSD; ok miod@ kettenis@Otto Moerbeek
2005-08-08zap remaining rcsid.Marc Espie
2005-06-17bye bye whiteoutsTodd C. Miller
2005-06-16bye bye whiteoutsTodd C. Miller
2003-06-11ansification; checked by pvalTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
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