summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-03-22 13:38:45 +0100
committerBruno Haible <bruno@clisp.org>2020-03-22 13:38:45 +0100
commit816ae468b18366d7f849ae6e370b315baebc2007 (patch)
tree74db5afd964189de8550996ebadd703d844be9c3 /modules
parent306df4a118a2f0baf01667d11507d901eecd1812 (diff)
downloadgnulib-816ae468b18366d7f849ae6e370b315baebc2007.tar.gz
Several modules: Depend on stat.
* modules/acl-permissions (Depends-on): Add stat. * modules/canonicalize (Depends-on): Likewise. * modules/file-has-acl (Depends-on): Likewise. * modules/fstat (Depends-on): Likewise. * modules/fstatat (Depends-on): Likewise. * modules/glob (Depends-on): Likewise. * modules/javacomp (Depends-on): Likewise. * modules/linkat (Depends-on): Likewise. * modules/mkdir (Depends-on): Likewise. * modules/pt_chown (Depends-on): Likewise. * modules/ptsname_r (Depends-on): Likewise. * modules/readlinkat (Depends-on): Likewise. * modules/rename (Depends-on): Likewise. * modules/renameatu (Depends-on): Likewise. * modules/tmpdir (Depends-on): Likewise. * modules/utimens (Depends-on): Likewise. * modules/relocatable-prog-wrapper (Depends-on): Add largefile. * modules/same (Depends-on): Remove stat.
Diffstat (limited to 'modules')
-rw-r--r--modules/acl-permissions1
-rw-r--r--modules/canonicalize1
-rw-r--r--modules/file-has-acl1
-rw-r--r--modules/fstat1
-rw-r--r--modules/fstatat1
-rw-r--r--modules/glob1
-rw-r--r--modules/javacomp1
-rw-r--r--modules/linkat1
-rw-r--r--modules/mkdir1
-rw-r--r--modules/pt_chown1
-rw-r--r--modules/ptsname_r1
-rw-r--r--modules/readlinkat1
-rw-r--r--modules/relocatable-prog-wrapper1
-rw-r--r--modules/rename1
-rw-r--r--modules/renameatu1
-rw-r--r--modules/same1
-rw-r--r--modules/tmpdir1
-rw-r--r--modules/utimens1
18 files changed, 17 insertions, 1 deletions
diff --git a/modules/acl-permissions b/modules/acl-permissions
index 49b91fface..3ecbb95d9d 100644
--- a/modules/acl-permissions
+++ b/modules/acl-permissions
@@ -14,6 +14,7 @@ m4/acl.m4
Depends-on:
extern-inline
fstat
+stat
stdbool
sys_stat
diff --git a/modules/canonicalize b/modules/canonicalize
index bf3dc57d00..b8aadb795b 100644
--- a/modules/canonicalize
+++ b/modules/canonicalize
@@ -17,6 +17,7 @@ lstat
memmove
nocrash
pathmax
+stat
sys_stat
xalloc
xgetcwd
diff --git a/modules/file-has-acl b/modules/file-has-acl
index 4857feaa36..0f8ab37fdb 100644
--- a/modules/file-has-acl
+++ b/modules/file-has-acl
@@ -8,6 +8,7 @@ m4/acl.m4
Depends-on:
acl-permissions
+stat
configure.ac:
gl_FILE_HAS_ACL
diff --git a/modules/fstat b/modules/fstat
index b557494cfc..e88bb43653 100644
--- a/modules/fstat
+++ b/modules/fstat
@@ -11,6 +11,7 @@ Depends-on:
sys_stat
largefile
pathmax [test $REPLACE_FSTAT = 1]
+stat [test $REPLACE_FSTAT = 1]
stat-time [test $REPLACE_FSTAT = 1]
unistd [test $REPLACE_FSTAT = 1]
verify [test $REPLACE_FSTAT = 1]
diff --git a/modules/fstatat b/modules/fstatat
index c31184675b..14c3f27fdf 100644
--- a/modules/fstatat
+++ b/modules/fstatat
@@ -20,6 +20,7 @@ lstat [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
openat-die [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
openat-h [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
save-cwd [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
+stat [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
stat-time [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
configure.ac:
diff --git a/modules/glob b/modules/glob
index 33d43bf394..eb1bd9e5ae 100644
--- a/modules/glob
+++ b/modules/glob
@@ -26,6 +26,7 @@ mempcpy [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
opendir [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
readdir [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
scratch_buffer [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
+stat [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
stdbool [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
stdint [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
strdup [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
diff --git a/modules/javacomp b/modules/javacomp
index d1cc559733..4f49bd95d3 100644
--- a/modules/javacomp
+++ b/modules/javacomp
@@ -23,6 +23,7 @@ getline
xconcat-filename
fwriteerror
clean-temp
+stat
error
xvasprintf
c-strstr
diff --git a/modules/linkat b/modules/linkat
index e0c4165759..a7cbb9420f 100644
--- a/modules/linkat
+++ b/modules/linkat
@@ -25,6 +25,7 @@ link [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
lstat [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
same-inode [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
save-cwd [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
+stat [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
symlink [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
areadlinkat [test $REPLACE_LINKAT = 1]
fstatat [test $REPLACE_LINKAT = 1]
diff --git a/modules/mkdir b/modules/mkdir
index 032f1c5b61..2f1850c61b 100644
--- a/modules/mkdir
+++ b/modules/mkdir
@@ -8,6 +8,7 @@ m4/mkdir.m4
Depends-on:
sys_stat
dirname-lgpl [test $REPLACE_MKDIR = 1]
+stat [test $REPLACE_MKDIR = 1]
configure.ac:
gl_FUNC_MKDIR
diff --git a/modules/pt_chown b/modules/pt_chown
index ddde845a8e..5cf4a7c47c 100644
--- a/modules/pt_chown
+++ b/modules/pt_chown
@@ -10,6 +10,7 @@ ptsname
root-uid
stdlib
configmake
+stat
configure.ac:
diff --git a/modules/ptsname_r b/modules/ptsname_r
index 9adc08b7d6..9cd5703404 100644
--- a/modules/ptsname_r
+++ b/modules/ptsname_r
@@ -9,6 +9,7 @@ Depends-on:
stdlib
extensions
isatty [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1]
+stat [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1]
ttyname_r [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1]
configure.ac:
diff --git a/modules/readlinkat b/modules/readlinkat
index a89c53fc1b..84dac40b31 100644
--- a/modules/readlinkat
+++ b/modules/readlinkat
@@ -17,6 +17,7 @@ fcntl-h [test $HAVE_READLINKAT = 0]
openat-die [test $HAVE_READLINKAT = 0]
openat-h [test $HAVE_READLINKAT = 0]
save-cwd [test $HAVE_READLINKAT = 0]
+stat [test $HAVE_READLINKAT = 0]
readlink [test $HAVE_READLINKAT = 0]
configure.ac:
diff --git a/modules/relocatable-prog-wrapper b/modules/relocatable-prog-wrapper
index 58af2088d5..25cc66f54a 100644
--- a/modules/relocatable-prog-wrapper
+++ b/modules/relocatable-prog-wrapper
@@ -37,6 +37,7 @@ Depends-on:
alloca-opt
double-slash-root
errno
+largefile
pathmax
ssize_t
stdbool
diff --git a/modules/rename b/modules/rename
index 582d63083d..27d6d4a02f 100644
--- a/modules/rename
+++ b/modules/rename
@@ -13,6 +13,7 @@ dirname-lgpl [test $REPLACE_RENAME = 1]
lstat [test $REPLACE_RENAME = 1]
rmdir [test $REPLACE_RENAME = 1]
same-inode [test $REPLACE_RENAME = 1]
+stat [test $REPLACE_RENAME = 1]
stdbool [test $REPLACE_RENAME = 1]
strdup [test $REPLACE_RENAME = 1]
diff --git a/modules/renameatu b/modules/renameatu
index bc320d13ea..d0a123cf95 100644
--- a/modules/renameatu
+++ b/modules/renameatu
@@ -23,6 +23,7 @@ openat-die [test $HAVE_RENAMEAT = 0]
rename [test $HAVE_RENAMEAT = 0]
same-inode [test $HAVE_RENAMEAT = 0]
save-cwd [test $HAVE_RENAMEAT = 0]
+stat [test $HAVE_RENAMEAT = 0]
configure.ac:
gl_FUNC_RENAMEAT
diff --git a/modules/same b/modules/same
index 24c9cf3a1e..f4926be005 100644
--- a/modules/same
+++ b/modules/same
@@ -14,7 +14,6 @@ fstat
fstatat
openat
same-inode
-stat
stdbool
memcmp
diff --git a/modules/tmpdir b/modules/tmpdir
index 40023b8ef7..591a741ed0 100644
--- a/modules/tmpdir
+++ b/modules/tmpdir
@@ -8,6 +8,7 @@ m4/tmpdir.m4
Depends-on:
secure_getenv
+stat
stdbool
sys_stat
pathmax
diff --git a/modules/utimens b/modules/utimens
index dbe24df161..c124cb5cbe 100644
--- a/modules/utimens
+++ b/modules/utimens
@@ -15,6 +15,7 @@ fstat
lstat
gettime
msvc-nothrow
+stat
stat-time
stdbool
sys_stat