cvs: Zend(PHP_4_3) / zend_ini_parser.y php-src NEWS configure.in

From: Date: Tue, 07 Oct 2003 10:04:52 +0000
Subject: cvs: Zend(PHP_4_3) / zend_ini_parser.y php-src NEWS configure.in
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1886@lists.php.net to get a copy of this message
helly Tue Oct 7 06:04:52 2003 EDT Modified files: (Branch: PHP_4_3) /php-src configure.in NEWS /Zend zend_ini_parser.y Log: MFH: Bugfix #25770 Segfault with PHP and bison 1.875 Index: php-src/configure.in diff -u php-src/configure.in:1.396.2.79 php-src/configure.in:1.396.2.80 --- php-src/configure.in:1.396.2.79 Fri Oct 3 01:25:29 2003 +++ php-src/configure.in Tue Oct 7 06:04:51 2003 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.396.2.79 2003/10/03 05:25:29 sniper Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.396.2.80 2003/10/07 10:04:51 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}" -lt "75" -a "${2}" -ne "28" -a "${2}" -ne "35" -o "${2}" -ge "875" ")"; 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}" -ne "1" -o "(" "${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: php-src/NEWS diff -u php-src/NEWS:1.1247.2.427 php-src/NEWS:1.1247.2.428 --- php-src/NEWS:1.1247.2.427 Tue Oct 7 05:59:50 2003 +++ php-src/NEWS Tue Oct 7 06:04:51 2003 @@ -3,6 +3,7 @@ ?? Oct 2003, Version 4.3.4RC2 - Fixed multibyte regex engine to properly handle ".*" pattern under POSIX compatible mode. (K.Kosako <kosako at sofnec.co.jp>, Moriyoshi) +- Fixed bug #25770 (Segfault with PHP and bison 1.875). (eggert@gnu.org, Marcus) - Fixed bug #25764 (ldap_get_option() crashes with unbound ldap link). (Jani) - Fixed bug #25752 (ext/ncurses: ncurses.h instead of curses.h with BSD). (Jani) - Fixed bug #25745 (ctype functions fail with non-ascii characters). (Moriyoshi) Index: Zend/zend_ini_parser.y diff -u Zend/zend_ini_parser.y:1.18.2.5 Zend/zend_ini_parser.y:1.18.2.6 --- Zend/zend_ini_parser.y:1.18.2.5 Sun May 18 09:16:45 2003 +++ Zend/zend_ini_parser.y Tue Oct 7 06:04:52 2003 @@ -18,7 +18,7 @@ */ -/* $Id: zend_ini_parser.y,v 1.18.2.5 2003/05/18 13:16:45 stas Exp $ */ +/* $Id: zend_ini_parser.y,v 1.18.2.6 2003/10/07 10:04:52 helly Exp $ */ #define DEBUG_CFG_PARSER 0 #include "zend.h" @@ -212,7 +212,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 (#1886) next »