diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2016-01-13 18:27:48 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2020-04-15 15:07:02 +0100 |
commit | a0e9b53238c3033222c53b1654da535c0743ab6e (patch) | |
tree | 1c444688a7e901ff07b052b39900507709370e85 /libiberty/xvasprintf.c | |
parent | 95a515681272fa3a79624279c1579cce14ad61c0 (diff) | |
download | binutils-a0e9b53238c3033222c53b1654da535c0743ab6e.zip binutils-a0e9b53238c3033222c53b1654da535c0743ab6e.tar.gz binutils-a0e9b53238c3033222c53b1654da535c0743ab6e.tar.bz2 |
Better handling of realpath() failure in windows_make_so() on Cygwin
It seems Cygwin's realpath() can fail on certain DLLs (apparently some
AV software prevent it working on it's DLLs; See [1], [2]). Warn rather
than stopping with an error if that occurs.
Based on an original patch from Tim Chick.
[1] https://cygwin.com/ml/cygwin/2014-08/msg00401.html
[2] https://cygwin.com/ml/cygwin/2015-11/msg00353.html
gdb/ChangeLog:
2016-01-20 Jon Turney <jon.turney@dronecode.org.uk>
* windows-nat.c (windows_make_so): Warn rather than stopping with
an error if realpath() fails.
Diffstat (limited to 'libiberty/xvasprintf.c')
0 files changed, 0 insertions, 0 deletions