mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
GNU Emacs needs the POSIX-specified fstatat, but not the gnulib-specified statat and lstat. Split the latter two into a new module 'statat'. * lib/openat.h: Depend on GNULIB_STATAT, not GNULIB_FSTATAT. * lib/openat.h, lib/statat.c (STATAT_INLINE): Rename from FSTATAT_INLINE. All uses changed. * modules/fstatat (Files): Remove lib/statat.c. (gl_MODULE_INDICATOR([fstatat])): Remove. (lib_SOURCES): Remove. (Maintainer): Add self. * modules/statat, modules/statat-tests, tests/test-statat.c: New files. * tests/test-fstatat.c (BASE): Don't define if already defined. (do_stat, do_lstat) [!TEST_STATAT]: Test fstatat instead.
24 lines
320 B
Plaintext
24 lines
320 B
Plaintext
Description:
|
|
statat() and lstatat() functions: Return info about a file at a directory.
|
|
|
|
Files:
|
|
lib/statat.c
|
|
|
|
Depends-on:
|
|
fstatat
|
|
|
|
configure.ac:
|
|
gl_MODULE_INDICATOR([statat]) dnl for lib/openat.h
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += statat.c
|
|
|
|
Include:
|
|
"openat.h"
|
|
|
|
License:
|
|
GPL
|
|
|
|
Maintainer:
|
|
Jim Meyering, Eric Blake, Paul Eggert
|