mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
A better fix for recent changes in Gnulib's acl_entries.c
See https://lists.gnu.org/archive/html/emacs-devel/2025-11/msg00145.html for the related discussions. * nt/mingw-cfg.site (ac_cv_func_acl_entries): Set to "yes" to disable compilation of lib/acl_entries.c on MinGW. * lib/acl_entries.c (acl_entries): Revert last change, as it is no longer needed.
This commit is contained in:
parent
58a2c2494d
commit
d6402072f2
2 changed files with 3 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ acl_entries (acl_t acl)
|
|||
got_one >= 0;
|
||||
got_one = acl_get_entry (acl, ACL_NEXT_ENTRY, &ace))
|
||||
count++;
|
||||
#elif !defined __MINGW32__ /* Linux, FreeBSD, NetBSD >= 10, Cygwin >= 2.5 */
|
||||
#else /* Linux, FreeBSD, NetBSD >= 10, Cygwin >= 2.5 */
|
||||
/* acl_get_entry returns 1 when it successfully fetches an entry,
|
||||
and 0 at the end. */
|
||||
acl_entry_t ace;
|
||||
|
|
|
|||
|
|
@ -46,12 +46,13 @@ ac_cv_search_clock_gettime="none required"
|
|||
ac_cv_func_clock_gettime=no
|
||||
ac_cv_func_clock_settime=no
|
||||
|
||||
# ACL functions are implemented in w32.c
|
||||
# ACL functions are either implemented in w32.c or not needed
|
||||
ac_cv_search_acl_get_file="none required"
|
||||
ac_cv_func_acl_get_file=yes
|
||||
ac_cv_func_acl_set_file=yes
|
||||
ac_cv_func_acl_free=yes
|
||||
ac_cv_func_acl_from_text=yes
|
||||
ac_cv_func_acl_entries=yes
|
||||
gl_cv_func_working_acl_get_file=yes
|
||||
# Autoconf's test program is not smart enough, and fails to detect gethostname
|
||||
ac_cv_func_gethostname=yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue