]> granicus.if.org Git - php/commitdiff
MFH: Bugfix #25770 Segfault with PHP and bison 1.875
authorMarcus Boerger <helly@php.net>
Tue, 7 Oct 2003 10:04:51 +0000 (10:04 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 7 Oct 2003 10:04:51 +0000 (10:04 +0000)
NEWS
configure.in

diff --git a/NEWS b/NEWS
index d5ef9c1fa440fa3914b9ac603fd4d2f816b80241..a532bac445e97cf788466f3fc84f466965110710 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ PHP 4                                                                      NEWS
 ?? 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 74d86f7361a0272224d73222ba47f5af3754a9a7..3a560d4fdf32158b0be40e33f8e7a1009a51aa05 100644 (file)
@@ -137,8 +137,8 @@ if test "$YACC" != "bison -y"; then
 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