]> 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)
committerBruno Haible <bruno@clisp.org>
Mon, 14 Apr 2025 22:37:15 +0000 (00:37 +0200)
commit8b5e9a5691d75074f64430fdd80419b51e6151a2
tree37f38a8f4610d187156a79321521d048cb6654fa
parent9639b06932c9a90af3bb1b12a387ababd5e4c698
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