mirror of
https://github.com/moparisthebest/curl
synced 2024-11-05 09:05:04 -05:00
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
This commit is contained in:
parent
6bba85d500
commit
ac4d08b5e2
@ -71,7 +71,7 @@ while(<F>) {
|
||||
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?
|
||||
|
Loading…
Reference in New Issue
Block a user