1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00
emacs/nt/inc
Paul Eggert ffdc270a76 Use Gnulib ACL implementation, for benefit of Solaris etc.
* configure.ac: Remove -with-acl option, since Gnulib does that for
us now.
(LIBACL_LIBS): Remove; no longer needed.
* lib/Makefile.am (CLEANFILES, SUFFIXES): New (empty) macros,
for the benefit of the new ACL implementation.
* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/acl-errno-valid.$(O).
($(BLD)/acl-errno-valid.$(O)): New rule.
* lib/acl-errno-valid.c, lib/acl-internal.h, lib/acl.h:
* lib/acl_entries.c, lib/errno.in.h, lib/file-has-acl.c:
* lib/qcopy-acl.c, lib/qset-acl.c, m4/acl.m4, m4/errno_h.m4:
New files, taken from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* admin/merge-gnulib (GNULIB_MODULES): Add qacl.
(GNULIB_TOOL_FLAGS): Do not avoid errno.
* etc/NEWS: Emacs is no longer limited to POSIX ACLs.  --disable-acl,
not --without-acl, since we're now using Gnulib's implementation.
* nt/config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
* nt/inc/ms-w32.h (EOPNOTSUPP): New macro.
* src/Makefile.in (LIB_ACL): New macro.
(LIBACL_LIBS): Remove.
(LIBES): Use LIB_ACL, not LIBACL_LIBS.
* src/fileio.c: Include <acl.h>.
Use HAVE_ACL_SET_FILE rather than HAVE_POSIX_ACL.
(ACL_NOT_WELL_SUPPORTED): Remove.  All uses replaced by
!acl_errno_valid.
(Fcopy_file) [!WINDOWSNT]: Use qcopy_acl instead of rolling
it ourselves.

Fixes: debbugs:14295
2013-05-07 14:34:03 -07:00
..
arpa Nuke arch-tags. 2011-01-15 15:16:57 -08:00
netinet Nuke arch-tags. 2011-01-15 15:16:57 -08:00
sys Fix more MinGW64 incompatibilities. 2013-03-26 15:45:01 +02:00
dirent.h Make opendir on MS-Windows accept a 'const char *'. 2013-01-28 16:41:08 +02:00
grp.h Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
inttypes.h Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
langinfo.h Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
ms-w32.h Use Gnulib ACL implementation, for benefit of Solaris etc. 2013-05-07 14:34:03 -07:00
netdb.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
nl_types.h Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
pwd.h Fix warnings when compiling on MS-Windows with -std=gnu99. 2012-10-17 21:02:44 +02:00
stdalign.h MS-Windows followup for 2012-07-28T23:05:32Z!eggert@cs.ucla.edu. 2012-07-29 18:43:09 +03:00
stdbool.h Fix the MS-Windows build broken by 2011-01-30T23:34:18Z!eggert@cs.ucla.edu and 2011-01-31T08:15:13Z!eggert@cs.ucla.edu. 2011-01-31 21:36:08 +02:00
stdint.h Fix problems with MSVC build reported in bug #13939. 2013-03-16 10:55:38 +02:00
unistd.h FILE's lock is now always .#FILE and may be a regular file. 2013-03-05 14:35:41 -08:00