Permalink
Browse files

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.
  • Loading branch information...
1 parent 5136975 commit f335bac8a38e816c4243474d7c7d186638d3aab4 @bagder bagder committed Oct 14, 2005
Showing with 10 additions and 5 deletions.
  1. +6 −0 CHANGES
  2. +2 −2 RELEASE-NOTES
  3. +1 −3 include/curl/curlver.h
  4. +1 −0 maketgz
View
@@ -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)
View
@@ -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)
View
@@ -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 */
View
@@ -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' \

0 comments on commit f335bac

Please sign in to comment.