]> git.eshelyaron.com Git - emacs.git/commit
Adapt the MS-Windows build to 'nofollow' changes
authorEli Zaretskii <eliz@gnu.org>
Mon, 24 Feb 2020 16:16:51 +0000 (18:16 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 24 Feb 2020 16:16:51 +0000 (18:16 +0200)
commit7dfe90a666ab6b90597e3ee61c141da088da340c
treec89accc53840eaa8b92186a207616883eb8ce3ca
parent9d626dffc6ba62c0d7a1a5c712f576ed8684fd66
Adapt the MS-Windows build to 'nofollow' changes

* nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_fchmodat)
(OMIT_GNULIB_MODULE_lchmod): Set to true to omit building these
modules on MS-Windows.
* nt/mingw-cfg.site (ac_cv_func_fchmodat)
(gl_cv_func_fchmodat_works, ac_cv_func_lchmod): Disable tests on
MS-Windows.

* src/w32.c (chmod_worker, lchmod, fchmodat): New functions.
(sys_chmod): Move most of the code to chmod_worker.
* src/w32.h (fchmodat, lchmod): Add prototypes.
nt/gnulib-cfg.mk
nt/mingw-cfg.site
src/w32.c
src/w32.h