view modules/fchmodat @ 16497:3843e07f6df5

remainder-ieee: Work around test failure on OSF/1. * m4/remainder-ieee.m4: New file. * m4/remainder.m4 (gl_FUNC_REMAINDER): If gl_FUNC_REMAINDER_IEEE is present, test whether remainder works with a zero second argument. Replace it if not. * lib/math.in.h (remainder): Override if REPLACE_REMAINDER is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDER. * modules/math (Makefile.am): Substitute REPLACE_REMAINDER. * modules/remainder (configure.ac): Consider REPLACE_REMAINDER. (Depends-on): Update dependencies. * modules/remainder-ieee (Files): Add m4/remainder-ieee.m4. (configure.ac): Invoke gl_FUNC_REMAINDER_IEEE. * doc/posix-functions/remainder.texi: Mention the remainder-ieee module.
author Bruno Haible <bruno@clisp.org>
date Mon, 27 Feb 2012 18:07:29 +0100
parents a2d45c112907
children 66fafd5c6640
line wrap: on
line source

Description:
fchmodat() function: Change access permissions of a file at a directory.

Files:
lib/fchmodat.c
lib/at-func.c
lib/openat-priv.h
m4/fchmodat.m4

Depends-on:
sys_stat
extensions
at-internal     [test $HAVE_FCHMODAT = 0]
dosname         [test $HAVE_FCHMODAT = 0]
errno           [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
AC_REQUIRE([AC_C_INLINE]) dnl because 'inline' is used in lib/openat.h
gl_MODULE_INDICATOR([fchmodat]) dnl for lib/openat.h
gl_SYS_STAT_MODULE_INDICATOR([fchmodat])

Makefile.am:

Include:
<sys/stat.h>

License:
GPL

Maintainer:
Jim Meyering, Eric Blake