binutils-gdb/gnulib/import
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
..
extra
glthread
m4 Do not adjust mtime timezone on Windows 2020-09-08 10:41:03 -06:00
malloc
_Noreturn.h
alloca.c
alloca.in.h
arg-nonnull.h
arpa_inet.in.h
assure.h
at-func.c
attribute.h
basename-lgpl.c
btowc.c
c++defs.h
canonicalize-lgpl.c
cdefs.h
chdir-long.c
chdir-long.h
cloexec.c
cloexec.h
close.c
closedir.c
count-one-bits.c
count-one-bits.h
ctype.in.h
dirent-private.h
dirent.in.h
dirfd.c
dirname-lgpl.c
dirname.h
dup2.c
dup-safer-flag.c
dup-safer.c
dup.c
errno.in.h
error.c
error.h
exitfail.c
exitfail.h
fchdir.c
fcntl.c
fcntl.in.h
fd-hook.c
fd-hook.h
fd-safer-flag.c
fd-safer.c
fdopendir.c
filename.h
filenamecat-lgpl.c
filenamecat.h
flexmember.h
float.c
float.in.h
float+.h
fnmatch_loop.c
fnmatch.c
fnmatch.in.h
fpucw.h
frexp.c
frexpl.c
fstat.c
fstatat.c
getcwd-lgpl.c
getcwd.c
getdtablesize.c
getlogin_r.c
getprogname.c
getprogname.h
getrandom.c
gettext.h
gettimeofday.c
glob_internal.h
glob_pattern_p.c
glob-libc.h
glob.c
glob.in.h
globfree.c
hard-locale.c
hard-locale.h
inet_ntop.c
intprops.h
inttypes.in.h
isblank.c
isnan.c
isnand-nolibm.h
isnand.c
isnanl-nolibm.h
isnanl.c
itold.c
lc-charset-dispatch.c
lc-charset-dispatch.h
libc-config.h
limits.in.h
localcharset.c
localcharset.h
locale.in.h
localtime-buffer.c
localtime-buffer.h
lstat.c
Makefile.am
Makefile.in
malloc.c
malloca.c
malloca.h
math.c
math.in.h
mbrtowc-impl-utf8.h
mbrtowc-impl.h
mbrtowc.c
mbsinit.c
mbsrtowcs-impl.h
mbsrtowcs-state.c
mbsrtowcs.c
mbtowc-impl.h
mbtowc-lock.c
mbtowc-lock.h
mbtowc.c
memchr.c
memchr.valgrind
memmem.c
mempcpy.c
memrchr.c
minmax.h
mkdir.c
mkdtemp.c
mkostemp.c
msvc-inval.c
msvc-inval.h
msvc-nothrow.c
msvc-nothrow.h
netinet_in.in.h
open.c
openat-die.c
openat-priv.h
openat-proc.c
openat.c
openat.h
opendir.c
pathmax.h
pipe-safer.c
rawmemchr.c
rawmemchr.valgrind
readdir.c
readlink.c
realloc.c
rename.c
rewinddir.c
rmdir.c
same-inode.h
save-cwd.c
save-cwd.h
scratch_buffer.h
setenv.c
setlocale_null.c
setlocale_null.h
setlocale-lock.c
signal.in.h
stat-time.c
stat-time.h
stat-w32.c
stat-w32.h
stat.c
stdalign.in.h
stdbool.in.h
stddef.in.h
stdint.in.h
stdio.in.h
stdlib.in.h
str-two-way.h
strchrnul.c
strchrnul.valgrind
strdup.c
streq.h
strerror_r.c
strerror-override.c
strerror-override.h
strerror.c
string.in.h
stripslash.c
strnlen1.c
strnlen1.h
strnlen.c
strstr.c
strtok_r.c
sys_random.in.h
sys_socket.c
sys_socket.in.h
sys_stat.in.h
sys_time.in.h
sys_types.in.h
sys_uio.in.h
tempname.c
tempname.h
time_r.c
time.in.h
unistd--.h
unistd-safer.h
unistd.c
unistd.in.h
unsetenv.c
verify.h
warn-on-use.h
wchar.in.h
wctype-h.c
wctype.in.h
windows-initguard.h
windows-mutex.c
windows-mutex.h
windows-once.c
windows-once.h
windows-recmutex.c
windows-recmutex.h
windows-rwlock.c
windows-rwlock.h
wmemchr-impl.h
wmemchr.c
wmempcpy.c
xalloc-oversized.h