From ac4d08b5e275109bbc7327c94ae714acfa2ff9a7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 4 Mar 2015 08:36:38 +0100 Subject: [PATCH] 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 --- docs/libcurl/symbols.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/libcurl/symbols.pl b/docs/libcurl/symbols.pl index d1ff7a656..9503ebcc7 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?