From: Bruno Haible Date: Sat, 19 Nov 2011 20:07:36 +0000 (+0100) Subject: Depend on module fcntl-h when AT_FDCWD is used. X-Git-Tag: v0.1~1421 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=e0009e0bab3ba98e053f7212dae3512912eb8507;p=gnulib.git Depend on module fcntl-h when AT_FDCWD is used. * modules/utimens (Depends-on): Add fcntl-h. * modules/areadlinkat (Depends-on): Likewise. * modules/areadlinkat-with-size (Depends-on): Likewise. * modules/faccessat (Depends-on): Likewise. * modules/fchmodat (Depends-on): Likewise. * modules/fchownat (Depends-on): Likewise. * modules/getcwd (Depends-on): Likewise. * modules/mkdirat (Depends-on): Likewise. * modules/mkfifoat (Depends-on): Likewise. * modules/readlinkat (Depends-on): Likewise. * modules/symlinkat (Depends-on): Likewise. * modules/dup2-tests (Depends-on): Likewise. * modules/fdutimensat-tests (Depends-on): Likewise. * modules/futimens-tests (Depends-on): Likewise. --- diff --git a/ChangeLog b/ChangeLog index d114b35c1..8725c92e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,23 @@ 2011-11-19 Bruno Haible + Depend on module fcntl-h when AT_FDCWD is used. + * modules/utimens (Depends-on): Add fcntl-h. + * modules/areadlinkat (Depends-on): Likewise. + * modules/areadlinkat-with-size (Depends-on): Likewise. + * modules/faccessat (Depends-on): Likewise. + * modules/fchmodat (Depends-on): Likewise. + * modules/fchownat (Depends-on): Likewise. + * modules/getcwd (Depends-on): Likewise. + * modules/mkdirat (Depends-on): Likewise. + * modules/mkfifoat (Depends-on): Likewise. + * modules/readlinkat (Depends-on): Likewise. + * modules/symlinkat (Depends-on): Likewise. + * modules/dup2-tests (Depends-on): Likewise. + * modules/fdutimensat-tests (Depends-on): Likewise. + * modules/futimens-tests (Depends-on): Likewise. + +2011-11-19 Bruno Haible + euidaccess: Update a comment. * lib/euidaccess.c: Update comment about platforms with faccessat. diff --git a/modules/areadlinkat b/modules/areadlinkat index 16c77d586..a9668cf96 100644 --- a/modules/areadlinkat +++ b/modules/areadlinkat @@ -15,6 +15,7 @@ dosname errno extensions fchdir +fcntl-h openat-die openat-h save-cwd diff --git a/modules/areadlinkat-with-size b/modules/areadlinkat-with-size index 092af0f2a..2cdd9595f 100644 --- a/modules/areadlinkat-with-size +++ b/modules/areadlinkat-with-size @@ -15,6 +15,7 @@ dosname errno extensions fchdir +fcntl-h openat-die openat-h save-cwd diff --git a/modules/dup2-tests b/modules/dup2-tests index 25a4a18b3..7893b85aa 100644 --- a/modules/dup2-tests +++ b/modules/dup2-tests @@ -6,6 +6,7 @@ tests/macros.h Depends-on: binary-io close +fcntl-h msvc-nothrow open diff --git a/modules/faccessat b/modules/faccessat index afdf080ab..768ec133f 100644 --- a/modules/faccessat +++ b/modules/faccessat @@ -14,6 +14,7 @@ at-internal [test $HAVE_FACCESSAT = 0] dosname [test $HAVE_FACCESSAT = 0] errno [test $HAVE_FACCESSAT = 0] fchdir [test $HAVE_FACCESSAT = 0] +fcntl-h [test $HAVE_FACCESSAT = 0] openat-die [test $HAVE_FACCESSAT = 0] openat-h [test $HAVE_FACCESSAT = 0] save-cwd [test $HAVE_FACCESSAT = 0] diff --git a/modules/fchmodat b/modules/fchmodat index 6f5472d98..f81dd8162 100644 --- a/modules/fchmodat +++ b/modules/fchmodat @@ -14,6 +14,7 @@ at-internal [test $HAVE_FCHMODAT = 0] dosname [test $HAVE_FCHMODAT = 0] errno [test $HAVE_FCHMODAT = 0] fchdir [test $HAVE_FCHMODAT = 0] +fcntl-h [test $HAVE_FCHMODAT = 0] openat-die [test $HAVE_FCHMODAT = 0] openat-h [test $HAVE_FCHMODAT = 0] save-cwd [test $HAVE_FCHMODAT = 0] diff --git a/modules/fchownat b/modules/fchownat index b7ec6a60a..886b6b36e 100644 --- a/modules/fchownat +++ b/modules/fchownat @@ -14,6 +14,7 @@ at-internal [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] dosname [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] errno [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] fchdir [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] +fcntl-h [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] lchown [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] openat-die [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] openat-h [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1] diff --git a/modules/fdutimensat-tests b/modules/fdutimensat-tests index 7099e689f..c4dc5af60 100644 --- a/modules/fdutimensat-tests +++ b/modules/fdutimensat-tests @@ -8,6 +8,7 @@ tests/test-fdutimensat.c tests/macros.h Depends-on: +fcntl-h ignore-value openat timespec diff --git a/modules/futimens-tests b/modules/futimens-tests index 307692000..1b72de513 100644 --- a/modules/futimens-tests +++ b/modules/futimens-tests @@ -7,6 +7,7 @@ tests/signature.h tests/macros.h Depends-on: +fcntl-h ignore-value timespec dup diff --git a/modules/getcwd b/modules/getcwd index 3f23f63bb..3677316df 100644 --- a/modules/getcwd +++ b/modules/getcwd @@ -16,6 +16,7 @@ mempcpy [test $REPLACE_GETCWD = 1] d-ino [test $REPLACE_GETCWD = 1] memmove [test $REPLACE_GETCWD = 1] openat [test $REPLACE_GETCWD = 1] +fcntl-h [test $REPLACE_GETCWD = 1] fdopendir [test $REPLACE_GETCWD = 1] fstat [test $REPLACE_GETCWD = 1] fstatat [test $REPLACE_GETCWD = 1] diff --git a/modules/mkdirat b/modules/mkdirat index f6c7411eb..010892004 100644 --- a/modules/mkdirat +++ b/modules/mkdirat @@ -14,6 +14,7 @@ at-internal [test $HAVE_MKDIRAT = 0] dosname [test $HAVE_MKDIRAT = 0] errno [test $HAVE_MKDIRAT = 0] fchdir [test $HAVE_MKDIRAT = 0] +fcntl-h [test $HAVE_MKDIRAT = 0] mkdir [test $HAVE_MKDIRAT = 0] openat-die [test $HAVE_MKDIRAT = 0] openat-h [test $HAVE_MKDIRAT = 0] diff --git a/modules/mkfifoat b/modules/mkfifoat index 983ec2b63..bc0c8e3da 100644 --- a/modules/mkfifoat +++ b/modules/mkfifoat @@ -15,6 +15,7 @@ at-internal [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] dosname [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] errno [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] fchdir [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] +fcntl-h [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] openat-die [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] openat-h [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] save-cwd [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0] diff --git a/modules/readlinkat b/modules/readlinkat index 918135b05..f31d3fed4 100644 --- a/modules/readlinkat +++ b/modules/readlinkat @@ -13,6 +13,7 @@ at-internal [test $HAVE_READLINKAT = 0] dosname [test $HAVE_READLINKAT = 0] errno [test $HAVE_READLINKAT = 0] fchdir [test $HAVE_READLINKAT = 0] +fcntl-h [test $HAVE_READLINKAT = 0] openat-die [test $HAVE_READLINKAT = 0] openat-h [test $HAVE_READLINKAT = 0] save-cwd [test $HAVE_READLINKAT = 0] diff --git a/modules/symlinkat b/modules/symlinkat index 56358cb79..f5d712d9f 100644 --- a/modules/symlinkat +++ b/modules/symlinkat @@ -13,6 +13,7 @@ at-internal [test $HAVE_SYMLINKAT = 0] dosname [test $HAVE_SYMLINKAT = 0] errno [test $HAVE_SYMLINKAT = 0] fchdir [test $HAVE_SYMLINKAT = 0] +fcntl-h [test $HAVE_SYMLINKAT = 0] openat-die [test $HAVE_SYMLINKAT = 0] openat-h [test $HAVE_SYMLINKAT = 0] save-cwd [test $HAVE_SYMLINKAT = 0] diff --git a/modules/utimens b/modules/utimens index ed6046696..accd74b1d 100644 --- a/modules/utimens +++ b/modules/utimens @@ -10,6 +10,7 @@ m4/utimes.m4 Depends-on: errno +fcntl-h fstat lstat gettime