view modules/lchown @ 40186:8964917f9574

autoupdate
author Karl Berry <karl@freefriends.org>
date Mon, 18 Feb 2019 08:02:49 -0800
parents 9acfed062e5f
children
line wrap: on
line source

Description:
lchown() function: change ownership of a file, without following symlinks.

Files:
lib/lchown.c
m4/lchown.m4

Depends-on:
unistd
chown           [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
errno           [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
lstat           [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
stdbool         [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
sys_stat        [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]

configure.ac:
gl_FUNC_LCHOWN
if test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1; then
  AC_LIBOBJ([lchown])
fi
gl_UNISTD_MODULE_INDICATOR([lchown])

Makefile.am:

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
Jim Meyering, Eric Blake