Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bryan Henderson pointed out in bug report #1081788 that the curl-config

--vernum output wasn't zero prefixed properly (as claimed in documentation).
This is fixed in maketgz now.
  • Loading branch information...
commit a2bd47c567fb920eb9fa2a0aae27c41644293530 1 parent 7b3c308
Daniel Stenberg authored
Showing with 6 additions and 1 deletion.
  1. +5 −0 CHANGES
  2. +1 −1  maketgz
5 CHANGES
View
@@ -6,6 +6,11 @@
Changelog
+Daniel (9 December 2004)
+- Bryan Henderson pointed out in bug report #1081788 that the curl-config
+ --vernum output wasn't zero prefixed properly (as claimed in documentation).
+ This is fixed in maketgz now.
+
Daniel (8 December 2004)
- Rene Bernhardt found and fixed a buffer overrun in the NTLM code, where
libcurl always and unconditionally overwrote a stack-based array with 3 zero
2  maketgz
View
@@ -18,7 +18,7 @@ major=`echo $libversion |cut -d. -f1 | sed -e "s/[^0-9]//g"`
minor=`echo $libversion |cut -d. -f2 | sed -e "s/[^0-9]//g"`
patch=`echo $libversion |cut -d. -f3 | cut -d- -f1 | sed -e "s/[^0-9]//g"`
-numeric=`echo "obase=16; $major*256*256 + $minor*256 + $patch" | bc`
+numeric=`perl -e 'printf("%02x%02x%02x\n", '"$major, $minor, $patch);"`
HEADER=include/curl/curlver.h
CHEADER=src/version.h
Please sign in to comment.
Something went wrong with that request. Please try again.