From f45922077ff338dc3d393892a13bed981d6f7701 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 22 Sep 2011 01:48:01 +0200 Subject: [PATCH] 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. --- ChangeLog | 10 ++++++++++ modules/dirent-safer-tests | 2 ++ modules/fdopendir-tests | 2 ++ modules/getcwd | 2 ++ modules/opendir | 1 + modules/rename-tests | 3 +++ modules/renameat-tests | 3 +++ 7 files changed, 23 insertions(+) diff --git a/ChangeLog b/ChangeLog index db0bd7a9f..8f3da40c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2011-09-21 Bruno Haible + 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. + +2011-09-21 Bruno Haible + opendir: Avoid compilation error on mingw. * lib/opendir.c: Include always. Include as well. * modules/opendir (Depends-on): Add unistd. diff --git a/modules/dirent-safer-tests b/modules/dirent-safer-tests index d516d5207..4ae8965af 100644 --- a/modules/dirent-safer-tests +++ b/modules/dirent-safer-tests @@ -4,6 +4,8 @@ tests/macros.h Depends-on: dup2 +opendir +closedir configure.ac: diff --git a/modules/fdopendir-tests b/modules/fdopendir-tests index bee2df7df..9dd53cc49 100644 --- a/modules/fdopendir-tests +++ b/modules/fdopendir-tests @@ -5,6 +5,8 @@ tests/macros.h Depends-on: open +opendir +closedir progname configure.ac: diff --git a/modules/getcwd b/modules/getcwd index 7189a9d0e..6a030bac5 100644 --- a/modules/getcwd +++ b/modules/getcwd @@ -15,6 +15,8 @@ mempcpy [test $REPLACE_GETCWD = 1] 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] diff --git a/modules/opendir b/modules/opendir index adb2242b5..04a335967 100644 --- a/modules/opendir +++ b/modules/opendir @@ -11,6 +11,7 @@ dirent 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 diff --git a/modules/rename-tests b/modules/rename-tests index 339ecdf57..b3cd9733b 100644 --- a/modules/rename-tests +++ b/modules/rename-tests @@ -11,6 +11,9 @@ link stdbool symlink sys_stat +opendir +readdir +closedir configure.ac: diff --git a/modules/renameat-tests b/modules/renameat-tests index 187928c05..970ebd7ba 100644 --- a/modules/renameat-tests +++ b/modules/renameat-tests @@ -8,6 +8,9 @@ Depends-on: ignore-value filenamecat getcwd-lgpl +opendir +readdir +closedir configure.ac: -- 2.11.0