1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00

lchown: Use issymlink.

* lib/lchown.c (lchown): Use issymlink instead of readlink.
* modules/lchown (Depends-on): Remove readlink. Add issymlink.
This commit is contained in:
Bruno Haible
2025-08-14 21:59:20 +02:00
parent 3cbc197fcf
commit f478e006d3
3 changed files with 19 additions and 12 deletions

View File

@@ -7,7 +7,7 @@ m4/lchown.m4
Depends-on:
unistd-h
readlink [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
issymlink [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
chown [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
errno-h [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]
bool [test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1]