X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=c47ddc5dab1a24ca0d5eaf11a7435ab3ce99593a;hb=1062e7a84e38a0e708fa3a7de81bba8ad45a2d45;hp=8fefc14aeec969114f90ec230a27a0292d0d0b24;hpb=79a3d2d10ebf29fb4e73716ae1b72fc5d20486a5;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 8fefc14ae..c47ddc5da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,18 @@ 2011-08-19 Jim Meyering + fts: add/use new struct member, fts_dirp + We are about to use this to manage any directory with + too many entries to read all of them into memory at once. + To do that, we'll need to save the DIR* pointer in each + affected FTSENT struct. + * lib/fts_.h: Include . + (struct FTSENT) [fts_dirp]: New member. + * lib/fts.c (closedir_and_clear): Define. + Use it in place of closedir so that we are sure to + clear the new fts_dirp member when done with it. + (fts_alloc): Initialize the new member. + (fts_lfree): Free, if needed. + maint: fts: give __opendir2 a new parameter and rename * lib/fts.c (__opendir2): Give it a new parameter, Pdir_fd, rather than surreptitiously using sole caller's "dir_fd".