> 2011-09-12 Bruno Haible <br...@clisp.org> > > New modules 'opendir', 'readdir', 'rewinddir', 'closedir'. >
As a consequence, modules which use opendir() etc. now need to depend on these modules. Otherwise compilation warnings and link errors occur on MSVC. 2011-09-17 Bruno Haible <br...@clisp.org> Add dependencies to new dirent related modules. * modules/backupfile (Depends-on): Add opendir, readdir, closedir. * modules/fts (Depends-on): Likewise. * modules/glob (Depends-on): Likewise. * modules/savedir (Depends-on): Likewise. * modules/scandir (Depends-on): Likewise. * modules/dirent-safer (Depends-on): Add opendir, closedir. * modules/fdopendir (Depends-on): Add opendir. --- modules/backupfile.orig Sat Sep 17 16:50:44 2011 +++ modules/backupfile Sat Sep 17 16:37:03 2011 @@ -9,10 +9,13 @@ Depends-on: argmatch +closedir d-ino dirent-safer dirname-lgpl memcmp +opendir +readdir stdbool configure.ac: --- modules/dirent-safer.orig Sat Sep 17 16:50:44 2011 +++ modules/dirent-safer Sat Sep 17 16:38:16 2011 @@ -9,7 +9,9 @@ Depends-on: dirent +closedir dirfd +opendir unistd-safer configure.ac: --- modules/fdopendir.orig Sat Sep 17 16:50:44 2011 +++ modules/fdopendir Sat Sep 17 16:40:34 2011 @@ -13,6 +13,7 @@ errno [test $HAVE_FDOPENDIR = 0] fchdir [test $HAVE_FDOPENDIR = 0] openat-die [test $HAVE_FDOPENDIR = 0] +opendir [test $HAVE_FDOPENDIR = 0] save-cwd [test $HAVE_FDOPENDIR = 0] configure.ac: --- modules/fts.orig Sat Sep 17 16:50:44 2011 +++ modules/fts Sat Sep 17 16:39:51 2011 @@ -9,6 +9,7 @@ Depends-on: cloexec +closedir cycle-check d-ino d-type @@ -21,6 +22,8 @@ lstat memmove openat-safer +opendir +readdir stdbool unistd-safer --- modules/glob.orig Sat Sep 17 16:50:44 2011 +++ modules/glob Sat Sep 17 16:43:41 2011 @@ -15,12 +15,15 @@ snippet/c++defs snippet/warn-on-use alloca [test -n "$GLOB_H"] +closedir [test -n "$GLOB_H"] d-type [test -n "$GLOB_H"] dirfd [test -n "$GLOB_H"] fnmatch [test -n "$GLOB_H"] getlogin_r [test -n "$GLOB_H"] memchr [test -n "$GLOB_H"] mempcpy [test -n "$GLOB_H"] +opendir [test -n "$GLOB_H"] +readdir [test -n "$GLOB_H"] stdbool [test -n "$GLOB_H"] strdup [test -n "$GLOB_H"] sys_stat [test -n "$GLOB_H"] --- modules/savedir.orig Sat Sep 17 16:50:44 2011 +++ modules/savedir Sat Sep 17 16:41:12 2011 @@ -7,8 +7,11 @@ m4/savedir.m4 Depends-on: +closedir dirent-safer fdopendir +opendir +readdir xalloc configure.ac: --- modules/scandir.orig Sat Sep 17 16:50:44 2011 +++ modules/scandir Sat Sep 17 16:42:21 2011 @@ -6,9 +6,12 @@ m4/scandir.m4 Depends-on: +closedir dirent extensions largefile +opendir +readdir configure.ac: gl_FUNC_SCANDIR -- In memoriam Estella Agsteribbe <http://en.wikipedia.org/wiki/Estella_Agsteribbe>