1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-14 10:00:25 -08:00
emacs/nt/inc/sys
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
..
acl.h Support Posix ACL APIs on MS-Windows. 2012-12-17 21:14:34 +02:00
file.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
ioctl.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
mman.h Use mmap(2) emulation for buffer text on MS-Windows. 2014-05-27 20:31:17 +03:00
param.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
resource.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
socket.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
stat.h Fix the MinGW build as followup to recent "nofollow" changes 2020-03-08 17:00:10 +02:00
time.h Remove unneeded stuff from nt/inc/sys/time.h 2017-05-15 22:45:57 +03:00
wait.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00