1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-14 14:01:48 +03:00
Files
gnulib/modules/fchmodat
Paul Eggert bc273a4c56 fchmodat, fchownat, fstatat: port to non-inlining compilers
Problem reported for FreeBSD 9 by Jim Meyering in
<http://lists.gnu.org/archive/html/bug-gnulib/2012-10/msg00070.html>.
* lib/chmodat.c, lib/chownat.c, lib/statat.c:
New files, which define FCHMODAT_INLINE etc.
* lib/fchmodat.c (FCHMODAT_INLINE):
* lib/fchownat.c (FCHOWNAT_INLINE):
* lib/fstatat.c (FSTATAT_INLINE):
Remove, as chmodat.c etc. now do this.
* modules/fchmodat (Files): Add lib/chmodat.c.
* modules/fchownat (Files): Add lib/chownat.c.
* modules/fstatat (Files): Add lib/statat.c.
2012-10-15 13:19:13 -07:00

42 lines
863 B
Plaintext

Description:
fchmodat() function: Change access permissions of a file at a directory.
Files:
lib/fchmodat.c
lib/chmodat.c
lib/at-func.c
m4/fchmodat.m4
Depends-on:
sys_stat
extensions
at-internal [test $HAVE_FCHMODAT = 0]
dosname [test $HAVE_FCHMODAT = 0]
errno [test $HAVE_FCHMODAT = 0]
extern-inline [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]
configure.ac:
gl_FUNC_FCHMODAT
if test $HAVE_FCHMODAT = 0; then
AC_LIBOBJ([fchmodat])
fi
gl_MODULE_INDICATOR([fchmodat]) dnl for lib/openat.h
gl_SYS_STAT_MODULE_INDICATOR([fchmodat])
Makefile.am:
lib_SOURCES += chmodat.c
Include:
<sys/stat.h>
License:
GPL
Maintainer:
Jim Meyering, Eric Blake