sfox            Sat Mar 22 22:16:55 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/win32/build        confutils.js 
  Log:
  Don't break PECL extensions that are oh-so-nearly doing The Right Thing [TM]
  (mcve, runkit, win32ps)
  
http://cvs.php.net/viewvc.cgi/php-src/win32/build/confutils.js?r1=1.60.2.1.2.8.2.5&r2=1.60.2.1.2.8.2.6&diff_format=u
Index: php-src/win32/build/confutils.js
diff -u php-src/win32/build/confutils.js:1.60.2.1.2.8.2.5 
php-src/win32/build/confutils.js:1.60.2.1.2.8.2.6
--- php-src/win32/build/confutils.js:1.60.2.1.2.8.2.5   Sat Mar 22 09:33:31 2008
+++ php-src/win32/build/confutils.js    Sat Mar 22 22:16:55 2008
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-// $Id: confutils.js,v 1.60.2.1.2.8.2.5 2008/03/22 09:33:31 sfox Exp $
+// $Id: confutils.js,v 1.60.2.1.2.8.2.6 2008/03/22 22:16:55 sfox Exp $
 
 var STDOUT = WScript.StdOut;
 var STDERR = WScript.StdErr;
@@ -880,6 +880,9 @@
                                if (contents.match(new RegExp('PHP_' + 
basename.toUpperCase() + 
'_VERSION(\\s+)"((\\d+\.\\d+(\.\\d+)?)(\-[a-z]{3,5})?(RC\\d+)?(\-dev)?)'))) {
                                        project_version = RegExp.$2;
                                        file_version = RegExp.$3.split('.');
+                                       if (!file_version[2]) {
+                                               file_version[2] = 0;
+                                       }
                                        versioning = '\\"" /d 
EXT_FILE_VERSION=' + file_version[0] + ',' + file_version[1] + ',' + 
file_version[2] + ' /d EXT_VERSION="\\"' + project_version;
                                }
                                header.Close();



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to