view modules/utimensat @ 39173:bd8aa1175bdf

stat: add missing module dependencies * modules/lstat, modules/stat, modules/utimensat (Depends-on): Add stat-time.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 28 Nov 2017 14:19:55 -0800
parents 7e1ff8dd1573
children 534c5ca60c4f
line wrap: on
line source

Description:
Set file access and modification times of a file relative to a directory fd.

Files:
lib/utimensat.c
lib/at-func.c
m4/utimensat.m4

Depends-on:
sys_stat
extensions
at-internal     [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
dosname         [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
errno           [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
fchdir          [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
fcntl-h         [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
openat-die      [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
openat-h        [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
save-cwd        [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
stat-time       [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
utimens         [test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1]
fstatat         [test $REPLACE_UTIMENSAT = 1]

configure.ac:
gl_FUNC_UTIMENSAT
if test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1; then
  AC_LIBOBJ([utimensat])
fi
gl_SYS_STAT_MODULE_INDICATOR([utimensat])

Makefile.am:

Include:
<sys/stat.h>

Link:
$(LIB_CLOCK_GETTIME)

License:
GPL

Maintainer:
Eric Blake