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;
|
my $dep;
|
||||||
|
|
||||||
# is there removed info?
|
# is there removed info?
|
||||||
if($vers =~ /([\d.]+)[ \t-]+([\d.]+)[ \t]+([\d.]+)/) {
|
if($vers =~ /([\d.]+)[ \t-]+([\d.-]+)[ \t]+([\d.]+)/) {
|
||||||
($intr, $dep, $rm)=($1, $2, $3);
|
($intr, $dep, $rm)=($1, $2, $3);
|
||||||
}
|
}
|
||||||
# is it a dep-only line?
|
# is it a dep-only line?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user