aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-03-04 08:36:38 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-03-04 08:36:38 +0100
commitac4d08b5e275109bbc7327c94ae714acfa2ff9a7 (patch)
tree8917583921d7a860debb53a7313d028c5fba777a
parent6bba85d500a22946fd44eb6b56fe33f3be77dfd1 (diff)
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
-rwxr-xr-xdocs/libcurl/symbols.pl2
1 files changed, 1 insertions, 1 deletions
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(<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?