From: Daniel Stenberg Date: Wed, 4 Mar 2015 07:36:38 +0000 (+0100) Subject: symbols.pl: handle '-' in the deprecated field X-Git-Tag: curl-7_42_0~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac4d08b5e275109bbc7327c94ae714acfa2ff9a7;p=thirdparty%2Fcurl.git symbols.pl: handle '-' in the deprecated field ... which otherwise made the script skip the _LAST define for some symbols. Reported-by: Jeroen Ooms Bug: http://curl.haxx.se/mail/lib-2015-03/0052.html --- diff --git a/docs/libcurl/symbols.pl b/docs/libcurl/symbols.pl index d1ff7a6562..9503ebcc7b 100755 --- a/docs/libcurl/symbols.pl +++ b/docs/libcurl/symbols.pl @@ -71,7 +71,7 @@ while() { my $dep; # is there removed info? - if($vers =~ /([\d.]+)[ \t-]+([\d.]+)[ \t]+([\d.]+)/) { + if($vers =~ /([\d.]+)[ \t-]+([\d.-]+)[ \t]+([\d.]+)/) { ($intr, $dep, $rm)=($1, $2, $3); } # is it a dep-only line?