summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-02-05 20:19:46 +0000
committerJim Meyering <jim@meyering.net>2003-02-05 20:19:46 +0000
commit66fce3b57240e7ea2fe0b89ca239bed1c6dcccf2 (patch)
tree6a717fd359ad1a664ed769a48b4433d0eee0a470 /lib
parent5a5f1c2340ca53dcbd029e0f962ec16350fd5aab (diff)
downloadcoreutils-66fce3b57240e7ea2fe0b89ca239bed1c6dcccf2.tar.xz
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 47ab626d3..f87858e8e 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,18 @@
+2003-02-05 Jim Meyering <jim@meyering.net>
+
+ * ftw.c: Include <limits.h>.
+ (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 <jim@meyering.net>
* ftw.c (lstat) [LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.