From: Jim Meyering Date: Wed, 5 Feb 2003 20:19:46 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v4.5.6~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=66fce3b57240e7ea2fe0b89ca239bed1c6dcccf2;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 47ab626d3c..f87858e8e7 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,18 @@ +2003-02-05 Jim Meyering + + * ftw.c: Include . + (PATH_MAX): Define to 1024, if not already defined. + (process_entry): Allocate enough space to hold the resulting + file name. Don't presume that 2*dirbufsize is enough. + (ftw_startup): Always use PATH_MAX to compute buffer size, now that + it is guaranteed to be defined. + + * ftw.c (process_entry): When using FTW_DEPTH, call `func', the + user-supplied callback, once for the current directory before calling + ftw_dir, in case that part of the hierarchy should be pruned. + `func' does that by setting `data->skip'. + (ftw_startup): Likewise. + 2003-02-02 Jim Meyering * ftw.c (lstat) [LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.