> 2011-09-17 Bruno Haible <[email protected]> > > Add dependencies to new dirent related modules. >
This patch was incomplete, leading to link errors on MSVC. I'm adding this patch: 2011-09-21 Bruno Haible <[email protected]> Add dependencies to new dirent related modules. * modules/opendir (Depends-on): Add closedir. * modules/getcwd (Depends-on): Add opendir, closedir. * modules/dirent-safer-tests (Depends-on): Likewise. * modules/fdopendir-tests (Depends-on): Likewise. * modules/rename-tests (Depends-on): Add opendir, readdir, closedir. * modules/renameat-tests (Depends-on): Likewise. --- modules/dirent-safer-tests.orig Thu Sep 22 01:43:15 2011 +++ modules/dirent-safer-tests Wed Sep 21 23:28:48 2011 @@ -4,6 +4,8 @@ Depends-on: dup2 +opendir +closedir configure.ac: --- modules/fdopendir-tests.orig Thu Sep 22 01:43:15 2011 +++ modules/fdopendir-tests Wed Sep 21 23:28:49 2011 @@ -5,6 +5,8 @@ Depends-on: open +opendir +closedir progname configure.ac: --- modules/getcwd.orig Thu Sep 22 01:43:15 2011 +++ modules/getcwd Thu Sep 22 01:43:12 2011 @@ -15,6 +15,8 @@ d-ino [test $REPLACE_GETCWD = 1] memmove [test $REPLACE_GETCWD = 1] openat [test $REPLACE_GETCWD = 1] +opendir [test $REPLACE_GETCWD = 1] +closedir [test $REPLACE_GETCWD = 1] stdbool [test $REPLACE_GETCWD = 1] malloc-posix [test $REPLACE_GETCWD = 1] strdup-posix [test $REPLACE_GETCWD = 1] --- modules/opendir.orig Thu Sep 22 01:43:15 2011 +++ modules/opendir Wed Sep 21 23:26:42 2011 @@ -11,6 +11,7 @@ largefile filename [test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1] unistd [test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1] +closedir [test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1] configure.ac: gl_FUNC_OPENDIR --- modules/rename-tests.orig Thu Sep 22 01:43:15 2011 +++ modules/rename-tests Wed Sep 21 23:30:57 2011 @@ -11,6 +11,9 @@ stdbool symlink sys_stat +opendir +readdir +closedir configure.ac: --- modules/renameat-tests.orig Thu Sep 22 01:43:15 2011 +++ modules/renameat-tests Wed Sep 21 23:30:58 2011 @@ -8,6 +8,9 @@ ignore-value filenamecat getcwd-lgpl +opendir +readdir +closedir configure.ac: -- In memoriam Orlando Letelier <http://en.wikipedia.org/wiki/Orlando_Letelier>
