]> Savannah Git Hosting - gnulib.git/commit
file-has-acl: port symlink code to Cygwin
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 7 Apr 2025 08:45:17 +0000 (01:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 7 Apr 2025 08:45:37 +0000 (01:45 -0700)
commit41e7b7e0d159d8ac0eb385964119f350ac9dfc3f
treef2e2eabaf38cdf6f77c7d2bd021ae05b59021865
parentba4e57eea99f57370842f8a1dd31ced242ba5598
file-has-acl: port symlink code to Cygwin

Problem reported by Corinna Vinschen in:
https://lists.gnu.org/r/bug-gnulib/2025-03/msg00112.html
* lib/file-has-acl.c (acl_get_link_np): New static function,
defined only if needed; include <fcntl.h> if needed for this.
(HAVE_ACL_GET_LINK_NP): Define this if defining acl_get_link_np.
ChangeLog
lib/file-has-acl.c