* lib/openat.h (rpl_fstatat): New macro, if
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Nov 2006 22:01:30 +0000 (22:01 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Nov 2006 22:01:30 +0000 (22:01 +0000)
commit229b2a01d8a088d376434452221f7cef41e55695
tree0282c15699d1d9e13f2cdad411d0653baca6dbf7
parent8d599733fb6a017cae4a67027942e04b2bf7dad0
* 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.
ChangeLog
lib/fstatat.c [new file with mode: 0644]
lib/openat.h
m4/openat.m4
modules/openat