summaryrefslogtreecommitdiff
path: root/modules/openat
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-11-20 22:01:30 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-11-20 22:01:30 +0000
commit229b2a01d8a088d376434452221f7cef41e55695 (patch)
tree0282c15699d1d9e13f2cdad411d0653baca6dbf7 /modules/openat
parent8d599733fb6a017cae4a67027942e04b2bf7dad0 (diff)
downloadgnulib-229b2a01d8a088d376434452221f7cef41e55695.tar.gz
* lib/openat.h (rpl_fstatat): New macro, if
[HAVE_OPENAT && ! LSTAT_FOLLOWS_SLASHED_SYMLINK. (fstatat): Define to rpl_fstatat under the same conditions, unless COMPILING_FSTATAT. * m4/openat.m4 (gl_FUNC_OPENAT): Compile fstatat.c too, if fstatat seems to have the bug. * lib/fstatat.c: New file. * modules/openat (Files): Add it.
Diffstat (limited to 'modules/openat')
-rw-r--r--modules/openat1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/openat b/modules/openat
index c14e7310ee..7754a3d7d4 100644
--- a/modules/openat
+++ b/modules/openat
@@ -4,6 +4,7 @@ Open a file at a directory.
Files:
lib/at-func.c
lib/fchmodat.c
+lib/fstatat.c
lib/mkdirat.c
lib/openat.c
lib/openat.h