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 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
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 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
arg-nonnull.h
arpa_inet.in.h
assure.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
at-func.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
attribute.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
basename-lgpl.c
btowc.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
c++defs.h
canonicalize-lgpl.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
cdefs.h
chdir-long.c
chdir-long.h
cloexec.c
cloexec.h
close.c
closedir.c
count-one-bits.c
count-one-bits.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
ctype.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
dirent-private.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
dirent.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
dirfd.c
dirname-lgpl.c
dirname.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
dup2.c
dup-safer-flag.c
dup-safer.c
dup.c
errno.in.h
error.c
error.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
exitfail.c
exitfail.h
fchdir.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
fcntl.c
fcntl.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
fd-hook.c
fd-hook.h
fd-safer-flag.c
fd-safer.c
fdopendir.c
filename.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
filenamecat-lgpl.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
filenamecat.h
flexmember.h
float.c
float.in.h
float+.h
fnmatch_loop.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
fnmatch.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
fnmatch.in.h
fpucw.h
frexp.c
frexpl.c
fstat.c
fstatat.c
getcwd-lgpl.c
getcwd.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
getdtablesize.c
getlogin_r.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
getprogname.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
getprogname.h
getrandom.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
gettext.h
gettimeofday.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
glob_internal.h
glob_pattern_p.c
glob-libc.h
glob.c
glob.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
globfree.c
hard-locale.c
hard-locale.h
inet_ntop.c
intprops.h
inttypes.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
isblank.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
isnan.c
isnand-nolibm.h
isnand.c
isnanl-nolibm.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
isnanl.c
itold.c
lc-charset-dispatch.c
lc-charset-dispatch.h
libc-config.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
limits.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
localcharset.c
localcharset.h
locale.in.h
localtime-buffer.c
localtime-buffer.h
lstat.c
Makefile.am Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
Makefile.in Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
malloc.c
malloca.c
malloca.h
math.c
math.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
mbrtowc-impl-utf8.h
mbrtowc-impl.h
mbrtowc.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
mbsinit.c
mbsrtowcs-impl.h
mbsrtowcs-state.c
mbsrtowcs.c
mbtowc-impl.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
mbtowc-lock.c
mbtowc-lock.h
mbtowc.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
memchr.c
memchr.valgrind
memmem.c
mempcpy.c
memrchr.c
minmax.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
mkdir.c
mkdtemp.c
mkostemp.c
msvc-inval.c
msvc-inval.h
msvc-nothrow.c
msvc-nothrow.h
netinet_in.in.h
open.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
openat-die.c
openat-priv.h
openat-proc.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
openat.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
openat.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
opendir.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
pathmax.h
pipe-safer.c
rawmemchr.c
rawmemchr.valgrind
readdir.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
readlink.c
realloc.c
rename.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
rewinddir.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
rmdir.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
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 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
stat-time.c
stat-time.h
stat-w32.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
stat-w32.h
stat.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
stdalign.in.h
stdbool.in.h
stddef.in.h
stdint.in.h
stdio.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
stdlib.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
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 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
stripslash.c
strnlen1.c
strnlen1.h
strnlen.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
strstr.c
strtok_r.c
sys_random.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
sys_socket.c
sys_socket.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
sys_stat.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
sys_time.in.h
sys_types.in.h
sys_uio.in.h
tempname.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
tempname.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
time_r.c
time.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
unistd--.h
unistd-safer.h
unistd.c
unistd.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
unsetenv.c
verify.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
warn-on-use.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
wchar.in.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
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 Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
windows-rwlock.h
wmemchr-impl.h Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
wmemchr.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
wmempcpy.c Update gnulib to current trunk 2020-08-26 15:37:28 -07:00
xalloc-oversized.h