binutils-gdb/gnulib/import/m4
Tom Tromey d706b69e48 Do not adjust mtime timezone on Windows
PR win32/25302 notes that gdb will crash when trying to "run" even a
simple program on Windows.  The essential bug here is that the BFD
cache can easily be corrupted -- I have sent a separate patch for
that.

The particular reason that the cache is corrupted on Windows is that
gnulib overrides "stat" to make it do timezone adjustment -- but BFD
does not use this version of stat.  The difference here triggers the
latent cache bug, but can also cause other bugs as well; in particular
it can cause spurious warnings about source files being newer.

This patch simply removes the stat override on mingw, making gnulib
and BFD agree.

I tested this by backing out the local AdaCore changes to work around
this bug and then verifying that I could reproduce it.  Then, I
applied this patch and verified that "run" works again.

2020-09-08  Tom Tromey  <tromey@adacore.com>

	PR win32/25302:
	* update-gnulib.sh: Apply stat patch.
	* patches/0001-use-windows-stat: New file.
	* import/m4/stat.m4: Update.
	* configure: Rebuild.
2020-09-08 10:41:03 -06:00
..
__inline.m4
00gnulib.m4
absolute-header.m4
alloca.m4
arpa_inet_h.m4
btowc.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
builtin-expect.m4
canonicalize.m4
chdir-long.m4
close.m4
closedir.m4
codeset.m4
ctype.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
d-ino.m4
d-type.m4
dirent_h.m4
dirfd.m4
dirname.m4
double-slash-root.m4
dup2.m4
dup.m4
eealloc.m4
environ.m4
errno_h.m4
error.m4
exponentd.m4
exponentl.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
extensions.m4
extern-inline.m4
fchdir.m4
fcntl_h.m4
fcntl-o.m4
fcntl.m4
fdopendir.m4
filenamecat.m4
flexmember.m4
float_h.m4
fnmatch_h.m4
fnmatch.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
fpieee.m4
frexp.m4
frexpl.m4
fstat.m4
fstatat.m4
getcwd-abort-bug.m4
getcwd-path-max.m4
getcwd.m4
getdtablesize.m4
getlogin_r.m4
getlogin.m4
getpagesize.m4
getprogname.m4
getrandom.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
gettimeofday.m4
glob_h.m4
glob.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
gnulib-cache.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
gnulib-common.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
gnulib-comp.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
gnulib-tool.m4
include_next.m4
inet_ntop.m4
inttypes-pri.m4
inttypes.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
isblank.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
isnand.m4
isnanl.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
largefile.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
limits-h.m4
localcharset.m4
locale_h.m4
locale-fr.m4
locale-ja.m4
locale-zh.m4
localtime-buffer.m4
lock.m4
lstat.m4
malloc.m4
malloca.m4
math_h.m4
mbrtowc.m4
mbsinit.m4
mbsrtowcs.m4
mbstate_t.m4
mbtowc.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
memchr.m4
memmem.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
mempcpy.m4
memrchr.m4
minmax.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
mkdir.m4
mkdtemp.m4
mkostemp.m4
mmap-anon.m4
mode_t.m4
msvc-inval.m4
msvc-nothrow.m4
multiarch.m4
netinet_in_h.m4
nocrash.m4
off_t.m4
open-cloexec.m4
open-slash.m4
open.m4
openat.m4
opendir.m4
pathmax.m4
pthread_rwlock_rdlock.m4
rawmemchr.m4
readdir.m4
readlink.m4
realloc.m4
rename.m4
rewinddir.m4
rmdir.m4
save-cwd.m4
setenv.m4
setlocale_null.m4
signal_h.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
socklen.m4
sockpfaf.m4
ssize_t.m4
stat-time.m4
stat.m4 Do not adjust mtime timezone on Windows 2020-09-08 10:41:03 -06:00
std-gnu11.m4
stdalign.m4
stdbool.m4
stddef_h.m4
stdint.m4
stdio_h.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
stdlib_h.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
strchrnul.m4
strdup.m4
strerror_r.m4
strerror.m4
string_h.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
strnlen.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
strstr.m4
strtok_r.m4
sys_random_h.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
sys_socket_h.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
sys_stat_h.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
sys_time_h.m4
sys_types_h.m4
sys_uio_h.m4
tempname.m4
threadlib.m4
time_h.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
time_r.m4
unistd_h.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
unistd-safer.m4
visibility.m4
warn-on-use.m4
wchar_h.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
wchar_t.m4
wctype_h.m4
wint_t.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
wmemchr.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
wmempcpy.m4 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
zzgnulib.m4