1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-04 06:31:13 -08:00
emacs/nt/inc
Eli Zaretskii 66bc47d12a 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.
2020-03-08 17:00:10 +02:00
..
arpa
netinet
sys Fix the MinGW build as followup to recent "nofollow" changes 2020-03-08 17:00:10 +02:00
dirent.h
grp.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
inttypes.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
langinfo.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mingw_time.h
ms-w32.h Merge from origin/emacs-27 2020-01-16 07:50:22 -08:00
netdb.h
nl_types.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
pwd.h
stdalign.h
stdbool.h
stdint.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unistd.h