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

chown: Use issymlink.

* lib/chown.c (rpl_chown): Use issymlink instead of readlink.
* modules/chown (Depends-on): Add issymlink.
This commit is contained in:
Bruno Haible
2025-08-14 21:54:44 +02:00
parent 16db5fb3f0
commit 3cbc197fcf
3 changed files with 8 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ m4/chown.m4
Depends-on:
unistd-h
fstat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
issymlink [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
open [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
stat [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]
bool [test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1]