1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

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.
This commit is contained in:
Daniel Stenberg 2004-12-09 08:06:59 +00:00
parent 7b3c308eb0
commit a2bd47c567
2 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,11 @@
Changelog 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) Daniel (8 December 2004)
- Rene Bernhardt found and fixed a buffer overrun in the NTLM code, where - 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 libcurl always and unconditionally overwrote a stack-based array with 3 zero

View File

@ -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"` 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"` 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 HEADER=include/curl/curlver.h
CHEADER=src/version.h CHEADER=src/version.h