aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-10-14 21:21:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-10-14 21:21:51 +0000
commitf335bac8a38e816c4243474d7c7d186638d3aab4 (patch)
tree502d5e4a16985ae070e1c1b1ec53c5c581386802
parent51369753bb65bbe3bb2fc88fdfb701f7ff76c72a (diff)
Reverted the LIBCURL_VERSION_NUM change from October 6. As Dave Dribin
reported, the define is used by the configure script and is assumed to use the 0xYYXXZZ format. This made "curl-config --vernum" fail in the 7.15.0 release version.
-rw-r--r--CHANGES6
-rw-r--r--RELEASE-NOTES4
-rw-r--r--include/curl/curlver.h4
-rwxr-xr-xmaketgz1
4 files changed, 10 insertions, 5 deletions
diff --git a/CHANGES b/CHANGES
index 8d2017e5c..ccfac04a9 100644
--- a/CHANGES
+++ b/CHANGES
@@ -8,6 +8,12 @@
+Daniel (14 October 2005)
+- Reverted the LIBCURL_VERSION_NUM change from October 6. As Dave Dribin
+ reported, the define is used by the configure script and is assumed to use
+ the 0xYYXXZZ format. This made "curl-config --vernum" fail in the 7.15.0
+ release version.
+
Version 7.15.0 (13 October 2005)
Daniel (12 October 2005)
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index c458a948f..ddfc40035 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -15,7 +15,7 @@ This release includes the following changes:
This release includes the following bugfixes:
- o
+ o curl-config --vernum fixed
Other curl-related news since the previous public release:
@@ -24,6 +24,6 @@ Other curl-related news since the previous public release:
This release would not have looked like this without help, code, reports and
advice from friends like these:
- o
+ Dave Dribin
Thanks! (and sorry if I forgot to mention someone)
diff --git a/include/curl/curlver.h b/include/curl/curlver.h
index 0cb6c2337..7f94670f4 100644
--- a/include/curl/curlver.h
+++ b/include/curl/curlver.h
@@ -51,8 +51,6 @@
and it is always a greater number in a more recent release. It makes
comparisons with greater than and less than work.
*/
-#define LIBCURL_VERSION_NUM ((LIBCURL_VERSION_MAJOR << 16) | \
- (LIBCURL_VERSION_MINOR << 8) | \
- LIBCURL_VERSION_PATCH)
+#define LIBCURL_VERSION_NUM 0x070f01
#endif /* __CURL_CURLVER_H */
diff --git a/maketgz b/maketgz
index 91ac4c444..4941f8833 100755
--- a/maketgz
+++ b/maketgz
@@ -25,6 +25,7 @@ CHEADER=src/version.h
# Replace version number in header file:
sed -e 's/^#define LIBCURL_VERSION .*/#define LIBCURL_VERSION "'$libversion'"/g' \
+ -e 's/^#define LIBCURL_VERSION_NUM .*/#define LIBCURL_VERSION_NUM 0x'$numeric'/g' \
-e 's/^#define LIBCURL_VERSION_MAJOR .*/#define LIBCURL_VERSION_MAJOR '$major'/g' \
-e 's/^#define LIBCURL_VERSION_MINOR .*/#define LIBCURL_VERSION_MINOR '$minor'/g' \
-e 's/^#define LIBCURL_VERSION_PATCH .*/#define LIBCURL_VERSION_PATCH '$patch'/g' \