cvs: ZendEngine2 / zend_ini_parser.y php-src configure.in

From: Date: Tue, 07 Oct 2003 09:33:20 +0000
Subject: cvs: ZendEngine2 / zend_ini_parser.y php-src configure.in
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1881@lists.php.net to get a copy of this message
helly Tue Oct 7 05:33:20 2003 EDT Modified files: /php-src configure.in /ZendEngine2 zend_ini_parser.y Log: Bugfix #25770 Segfault with PHP and bison 1.875 Index: php-src/configure.in diff -u php-src/configure.in:1.467 php-src/configure.in:1.468 --- php-src/configure.in:1.467 Fri Oct 3 01:24:16 2003 +++ php-src/configure.in Tue Oct 7 05:33:19 2003 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.467 2003/10/03 05:24:16 sniper Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.468 2003/10/07 09:33:19 helly Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -137,8 +137,8 @@ else AC_MSG_CHECKING([bison version]) set bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | sed -e 's/\./ /'|tr -d a-z - if test "${1}" = "1" -a "${2}" != "28" -a "${2}" != "35" -a "${2}" != "75"; then - AC_MSG_WARN([You will need bison 1.28, 1.35 or 1.75 if you want to regenerate the Zend parser (found ${1}.${2}).]) + if test "${1}" = "1" -a "${2}" != "28" -a "${2}" != "35" -a "${2}" != "75" -a "${2}" != "875"; then + AC_MSG_WARN([You will need bison 1.28, 1.35, 1.75 or 1.875 if you want to regenerate the Zend parser (found ${1}.${2}).]) fi AC_MSG_RESULT(${1}.${2} (ok)) fi Index: ZendEngine2/zend_ini_parser.y diff -u ZendEngine2/zend_ini_parser.y:1.24 ZendEngine2/zend_ini_parser.y:1.25 --- ZendEngine2/zend_ini_parser.y:1.24 Tue Jun 10 16:03:25 2003 +++ ZendEngine2/zend_ini_parser.y Tue Oct 7 05:33:20 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_ini_parser.y,v 1.24 2003/06/10 20:03:25 imajes Exp $ */ +/* $Id: zend_ini_parser.y,v 1.25 2003/10/07 09:33:20 helly Exp $ */ #define DEBUG_CFG_PARSER 0 #include "zend.h" @@ -213,7 +213,6 @@ | CFG_TRUE { $$ = $1; } | CFG_FALSE { $$ = $1; } | '\n' { $$.value.str.val = strdup(""); $$.value.str.len=0; $$.type = IS_STRING; } - | '\0' { $$.value.str.val = strdup(""); $$.value.str.len=0; $$.type = IS_STRING; } ; expr:

« previous php.zend-engine.cvs (#1881) next »