diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-03-08 17:00:10 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-03-08 17:00:10 +0200 |
commit | 66bc47d12aba72ff738a9f5575e0b93eefc641ba (patch) | |
tree | c85ff0ed19d5067a45bd81e7251248a6ae8cf279 /lisp/emacs-lisp | |
parent | 0a3f8da6e1a56ada409cf1677ac40fcc75a8a33c (diff) | |
download | emacs-66bc47d12aba72ff738a9f5575e0b93eefc641ba.tar.gz emacs-66bc47d12aba72ff738a9f5575e0b93eefc641ba.tar.bz2 emacs-66bc47d12aba72ff738a9f5575e0b93eefc641ba.zip |
Fix the MinGW build as followup to recent "nofollow" changes
* src/w32.c (fdutimens): Call utimensat instead of utime.
(set_file_times): Function deleted.
(convert_from_timespec): Renamed from convert_from_time_t and
modified to accept 'struct timespec' argument instead of 'time_t'.
(utimensat): Renamed from utime and modified to accept 'struct
timespec [2]' argument and an additional argument FLAG. Emulate
Posix 'utimensat'. Call 'convert_from_timespec'.
(w32_copy_file): Call 'utimensat' instead of 'set_file_times'.
* src/fileio.c (Fcopy_file) [WINDOWSNT]: Make the error message be
identical to that on Posix platforms.
* nt/inc/sys/stat.h (utimensat): Provide prototype.
* nt/mingw-cfg.site (ac_cv_func_futimens)
(gl_cv_func_futimens_works, ac_cv_func_utimensat)
(gl_cv_func_utimensat_works): Override Gnulib tests.
* nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_futimens)
(OMIT_GNULIB_MODULE_utimensat): Disable these Gnulib modules.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions