mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
*** empty log message ***
This commit is contained in:
1 parent
89bcff9cf4
commit
33bb552cee
1 file changed
+2
@@ -1,11 +1,13 @@
|
||||
2003-02-05 Jim Meyering <jim@meyering.net>
|
||||
|
||||
Fix a heap-corruption bug that affected Solaris systems.
|
||||
* 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.
|
||||
Nelson Beebe reported that du would sometimes segfault on Solaris.
|
||||
|
||||
* ftw.c (process_entry): When using FTW_DEPTH, call `func', the
|
||||
user-supplied callback, once for the current directory before calling
|
||||
|
||||
Reference in new issue
Block a user