1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-22 20:42:26 -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 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 the MinGW build as followup to recent "nofollow" changes 2020-03-08 17:00:10 +02:00
dirent.h Dirent functions and directory-files are converted and work. 2013-11-09 14:49:02 +02:00
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 Attempt to fix time_t related problems with MinGW 4.0 runtime. 2013-10-14 19:23:10 +03:00
ms-w32.h Merge from origin/emacs-27 2020-01-16 07:50:22 -08:00
netdb.h Nuke arch-tags. 2011-01-15 15:16:57 -08:00
nl_types.h Update copyright year to 2020 2020-01-01 00:59:52 +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 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unistd.h Merge from trunk and resolve conflicts. 2013-03-28 20:13:59 +02:00