apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <bjar...@cogitoinc.com>
Subject [PATCH] syntax error in generated libapr.rc when APR_IS_DEV_VERSION not defined
Date Sat, 05 Feb 2005 01:17:48 GMT
windows build.
running win32ver.awk when APR_IS_DEV_VERSION is not defined (unmodifed from apr-1.1.0.tar.gz)
causes an illegal libapr.rc to be created.  The PRODUCTVERSION line ends in a comma, rather
than a build number.

--the walrus


--- win32ver.awk        2005-02-04 18:05:23.077911800 -0700
+++ win32ver.new.awk    2005-02-04 18:05:12.412362800 -0700
@@ -61,7 +61,10 @@
     }
   }
   ver = ver_major "." ver_minor "." ver_patch ver_suffix;
-  verc = ver_major "," ver_minor "," ver_patch "," ver_build;
+  verc = ver_major "," ver_minor "," ver_patch;
+  if (ver_build) {
+    verc += "," ver_build;
+  }

   if (length(vendor)) {
     ff = ff + 8;

Mime
View raw message