From: cgf Date: Tue, 1 Dec 2009 00:40:22 +0000 (+0000) Subject: * speclib: Use last dll found since that's the real name of the cygwin DLL. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e99cc243e9741b904b6994dab147ee3894a0b50f;p=pf3gnuchains%2Fpf3gnuchains3x.git * speclib: Use last dll found since that's the real name of the cygwin DLL. --- diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index b0daf5f872..effa8386b6 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2009-11-30 Christopher Faylor + + * speclib: Use last dll found since that's the real name of the cygwin + DLL. + 2009-11-27 Corinna Vinschen * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix typos in diff --git a/winsup/cygwin/speclib b/winsup/cygwin/speclib index 10218d876c..7ac4d1cffe 100755 --- a/winsup/cygwin/speclib +++ b/winsup/cygwin/speclib @@ -35,7 +35,7 @@ my $dllname; while (<$nm_fd>) { study; if (/ I _(.*)_dll_iname/o) { - $dllname ||= $1; + $dllname = $1; } else { my ($file, $member, $symbol) = m%^([^:]*):([^:]*(?=:))?.* T (.*)%o; next if !defined($symbol) || $symbol =~ $exclude_regex;