[PHP-CVS-DAILY] cvs: php-src / ChangeLog
changelog Wed May 26 20:32:06 2004 EDT Modified files: /php-srcChangeLog Log: ChangeLog update http://cvs.php.net/diff.php/php-src/ChangeLog?r1=1.1639r2=1.1640ty=u Index: php-src/ChangeLog diff -u php-src/ChangeLog:1.1639 php-src/ChangeLog:1.1640 --- php-src/ChangeLog:1.1639Tue May 25 20:33:34 2004 +++ php-src/ChangeLog Wed May 26 20:32:06 2004 @@ -1,3 +1,85 @@ +2004-05-26 Wez Furlong [EMAIL PROTECTED] + +* ZendEngine2/zend_object_handlers.c: + Fix leak on systems where alloca isn't really alloca. + +* main/streams/filter.c + main/streams/php_stream_filter_api.h: + Fix silly mistake. + Thanks Antony :) + +2004-05-26 Andrei Zmievski [EMAIL PROTECTED] + +* (PHP_4_3) + Zend/zend_constants.c: + Make sure zend_get_constant() result is initialized properly. + +* ZendEngine2/zend_constants.c: + Avoid unnecessary and silly copying of constant name when registering. + +2004-05-26 Andi Gutmans [EMAIL PROTECTED] + +* ZendEngine2/zend_alloc.c: + - Fix memory manager problem + +2004-05-26 Andrei Zmievski [EMAIL PROTECTED] + +* (PHP_4_3) + Zend/zend_constants.c: + Avoid unnecessary copy when registering a constant. + +2004-05-26 Ilia Alshanetsky [EMAIL PROTECTED] + +* (PHP_4_3) + run-tests.php: + MFH: Turn off session.auto_start to prevent test failures. + +* run-tests.php: + Turn off session.auto_start to prevent test failures. + +2004-05-26 Pierre-Alain Joye [EMAIL PROTECTED] + +* ext/gd/tests/bug27582_2.phpt: + - Remove this test, it still segfaults anyway (less noise in tests :) ) +Already removed in PHP_4_3 branch + +2004-05-26 Ilia Alshanetsky [EMAIL PROTECTED] + +* (PHP_4_3) + ext/xslt/tests/xslt_backend_info.phpt: + Fixed test failure due to incorrect library check. + +2004-05-26 Andi Gutmans [EMAIL PROTECTED] + +* ext/standard/basic_functions.c: + - Use FREE_HASHTABLE instead of efree() + +2004-05-26 Wez Furlong [EMAIL PROTECTED] + +* ext/standard/proc_open.c: + Apparently it is better to specify 500 here for unix98 bits and pieces. + +* (PHP_4_3) + ext/mcve/config.m4: + Fix build + +* ext/mcve/config.m4: + Fix build... + +2004-05-26 Sebastian Bergmann [EMAIL PROTECTED] + +* ZendEngine2/ZEND_CHANGES: + Update Reflection API class names. Whitespace fixes. + +2004-05-26 Derick Rethans [EMAIL PROTECTED] + +* (PHP_4_3) + ext/sockets/sockets.c: + - MFH: Fixed bug #28523 (Typo in ext/sockets/sockets.c) + +* ext/sockets/sockets.c: + - Fixed bug #28523 (Typo in ext/sockets/sockets.c) + 2004-05-25 Stefan Esser [EMAIL PROTECTED] * main/SAPI.c: @@ -3960,7 +4042,7 @@ 2004-03-18 Pierre-Alain Joye [EMAIL PROTECTED] * ext/gd/tests/bug27582_2.phpt: - - Fix the test description and $Id: ChangeLog,v 1.1639 2004/05/26 00:33:34 changelog Exp $ + - Fix the test description and $Id: ChangeLog,v 1.1640 2004/05/27 00:32:06 changelog Exp $ 2004-03-18 Derick Rethans [EMAIL PROTECTED]
[PHP-CVS-DAILY] cvs: ZendEngine2 / ChangeLog
changelog Wed May 26 20:32:10 2004 EDT Modified files: /ZendEngine2ChangeLog Log: ChangeLog update http://cvs.php.net/diff.php/ZendEngine2/ChangeLog?r1=1.473r2=1.474ty=u Index: ZendEngine2/ChangeLog diff -u ZendEngine2/ChangeLog:1.473 ZendEngine2/ChangeLog:1.474 --- ZendEngine2/ChangeLog:1.473 Tue May 25 20:33:37 2004 +++ ZendEngine2/ChangeLog Wed May 26 20:32:10 2004 @@ -1,3 +1,23 @@ +2004-05-26 Wez Furlong [EMAIL PROTECTED] + +* zend_object_handlers.c: + Fix leak on systems where alloca isn't really alloca. + +2004-05-26 Andrei Zmievski [EMAIL PROTECTED] + +* zend_constants.c: + Avoid unnecessary and silly copying of constant name when registering. + +2004-05-26 Andi Gutmans [EMAIL PROTECTED] + +* zend_alloc.c: + - Fix memory manager problem + +2004-05-26 Sebastian Bergmann [EMAIL PROTECTED] + +* ZEND_CHANGES: + Update Reflection API class names. Whitespace fixes. + 2004-05-25 Andi Gutmans [EMAIL PROTECTED] * zend_objects_API.h: @@ -4682,7 +4702,7 @@ 2003-06-10 Jani Taskinen [EMAIL PROTECTED] * zend_multiply.h: - - Missing $Id: ChangeLog,v 1.473 2004/05/26 00:33:37 changelog Exp $ tag + - Missing $Id: ChangeLog,v 1.474 2004/05/27 00:32:10 changelog Exp $ tag 2003-06-10 James Cox [EMAIL PROTECTED] @@ -6406,7 +6426,7 @@ zend_types.h zend_variables.c zend_variables.h: - - Added some missing CVS $Id: ChangeLog,v 1.473 2004/05/26 00:33:37 changelog Exp $ tags, headers and footers. + - Added some missing CVS $Id: ChangeLog,v 1.474 2004/05/27 00:32:10 changelog Exp $ tags, headers and footers. 2003-01-30 Ilia Alshanetsky [EMAIL PROTECTED]
[PHP-CVS] cvs: php-src /ext/sockets sockets.c
derick Wed May 26 02:53:04 2004 EDT Modified files: /php-src/ext/socketssockets.c Log: - Fixed bug #28523 (Typo in ext/sockets/sockets.c) http://cvs.php.net/diff.php/php-src/ext/sockets/sockets.c?r1=1.163r2=1.164ty=u Index: php-src/ext/sockets/sockets.c diff -u php-src/ext/sockets/sockets.c:1.163 php-src/ext/sockets/sockets.c:1.164 --- php-src/ext/sockets/sockets.c:1.163 Tue May 18 06:49:06 2004 +++ php-src/ext/sockets/sockets.c Wed May 26 02:53:04 2004 @@ -19,7 +19,7 @@ +--+ */ -/* $Id: sockets.c,v 1.163 2004/05/18 10:49:06 edink Exp $ */ +/* $Id: sockets.c,v 1.164 2004/05/26 06:53:04 derick Exp $ */ #ifdef HAVE_CONFIG_H #include config.h @@ -322,7 +322,7 @@ buf = hstrerror(error); #else { - spprintf((SOCKETS_G(strerror_buf), Host lookup error %d, error); + spprintf((SOCKETS_G(strerror_buf)), Host lookup error %d, error); buf = SOCKETS_G(strerror_buf); } #endif -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_4_3) /ext/sockets sockets.c
derick Wed May 26 02:54:01 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/socketssockets.c Log: - MFH: Fixed bug #28523 (Typo in ext/sockets/sockets.c) http://cvs.php.net/diff.php/php-src/ext/sockets/sockets.c?r1=1.125.2.22r2=1.125.2.23ty=u Index: php-src/ext/sockets/sockets.c diff -u php-src/ext/sockets/sockets.c:1.125.2.22 php-src/ext/sockets/sockets.c:1.125.2.23 --- php-src/ext/sockets/sockets.c:1.125.2.22Tue May 18 08:17:40 2004 +++ php-src/ext/sockets/sockets.c Wed May 26 02:54:00 2004 @@ -19,7 +19,7 @@ +--+ */ -/* $Id: sockets.c,v 1.125.2.22 2004/05/18 12:17:40 edink Exp $ */ +/* $Id: sockets.c,v 1.125.2.23 2004/05/26 06:54:00 derick Exp $ */ #ifdef HAVE_CONFIG_H #include config.h @@ -350,7 +350,7 @@ buf = hstrerror(error); #else { - spprintf((SOCKETS_G(strerror_buf), Host lookup error %d, error); + spprintf((SOCKETS_G(strerror_buf)), Host lookup error %d, error); buf = SOCKETS_G(strerror_buf); } #endif -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-CVS] cvs: php-src /ext/mcve config.m4
AC_PROG_EGREP is not supported by autoconf 2.13, which is the recommended version to use. Please revert this and solve it some other way, particularly in the 4.3 branch! :-) -Wez. -Original Message- From: Brad House [mailto:[EMAIL PROTECTED] Sent: 25 May 2004 18:09 To: [EMAIL PROTECTED] Subject: [PHP-CVS] cvs: php-src /ext/mcve config.m4 bradmssw Tue May 25 13:08:41 2004 EDT Modified files: /php-src/ext/mcve config.m4 Log: PHP_SETUP_OPENSSL is NOT SNMP_SHARED_LIBADD, it's MCVE_SHARED_LIBADD requires AC_PROG_EGREP when you phpize -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/mcve config.m4
wez Wed May 26 06:11:18 2004 EDT Modified files: /php-src/ext/mcve config.m4 Log: Fix build... http://cvs.php.net/diff.php/php-src/ext/mcve/config.m4?r1=1.8r2=1.9ty=u Index: php-src/ext/mcve/config.m4 diff -u php-src/ext/mcve/config.m4:1.8 php-src/ext/mcve/config.m4:1.9 --- php-src/ext/mcve/config.m4:1.8 Tue May 25 13:08:41 2004 +++ php-src/ext/mcve/config.m4 Wed May 26 06:11:18 2004 @@ -1,7 +1,5 @@ dnl config.m4 for PHP MCVE Extension -AC_PROG_EGREP - PHP_ARG_WITH(mcve, for MCVE support, [ --with-mcve[=DIR] Include MCVE support. libmcve = 3.2.2 or libmonetra = 4.0 required]) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_4_3) /ext/mcve config.m4
wez Wed May 26 08:29:56 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/mcve config.m4 Log: Fix build http://cvs.php.net/diff.php/php-src/ext/mcve/config.m4?r1=1.2.4.7r2=1.2.4.8ty=u Index: php-src/ext/mcve/config.m4 diff -u php-src/ext/mcve/config.m4:1.2.4.7 php-src/ext/mcve/config.m4:1.2.4.8 --- php-src/ext/mcve/config.m4:1.2.4.7 Tue May 25 13:05:56 2004 +++ php-src/ext/mcve/config.m4 Wed May 26 08:29:55 2004 @@ -1,7 +1,5 @@ dnl config.m4 for PHP4 MCVE Extension -AC_PROG_EGREP - PHP_ARG_WITH(mcve, for MCVE support, [ --with-mcve[=DIR] Include MCVE support. libmcve = 3.2.2 or libmonetra = 4.0 required]) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-CVS] cvs: php-src /ext/mcve config.m4
That code might be GPL'd ;-) It looks a bit too magical, so how about a simple: AC_CHECK_PROG(EGREP, egrep, grep -E) AC_SUBST(EGREP) Instead? (please check that it works!) --Wez. -Original Message- From: Brad House [mailto:[EMAIL PROTECTED] Sent: 26 May 2004 13:32 To: Wez Furlong Cc: 'Brad House'; [EMAIL PROTECTED] Subject: Re: [PHP-CVS] cvs: php-src /ext/mcve config.m4 oops, didn't realize that ... I got an error message with 'phpize' when I tried to use autoconf 2.13, and it said I must use 2.5 ... The reason I added it is someone else did the AC_EGREP_CPP stuff, and it pretty much just hangs on that line without defining $EGREP, and AC_PROG_EGREP is what defines it... Anyhow, is it ok with you if I just add this snippet to the config.m4 file (above the AC_PROG_EGREP call) ... I just ripped it out of the aclocal.m4 that was generated with phpize: # AC_PROG_EGREP # - # This is predefined starting with Autoconf 2.54, so this conditional # definition can be removed once we require Autoconf 2.54 or later. m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], [if echo a | (grep -E '(a|b)') /dev/null 21 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi]) EGREP=$ac_cv_prog_egrep AC_SUBST([EGREP]) ])]) -Brad Wez Furlong wrote: AC_PROG_EGREP is not supported by autoconf 2.13, which is the recommended version to use. Please revert this and solve it some other way, particularly in the 4.3 branch! :-) -Wez. -Original Message- From: Brad House [mailto:[EMAIL PROTECTED] Sent: 25 May 2004 18:09 To: [EMAIL PROTECTED] Subject: [PHP-CVS] cvs: php-src /ext/mcve config.m4 bradmsswTue May 25 13:08:41 2004 EDT Modified files: /php-src/ext/mcve config.m4 Log: PHP_SETUP_OPENSSL is NOT SNMP_SHARED_LIBADD, it's MCVE_SHARED_LIBADD requires AC_PROG_EGREP when you phpize -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-CVS] cvs: php-src /ext/mcve config.m4
heh, yours seems so much ... erm ... simpler I'll give it a test and commit it if it works. Thanks! -Brad Wez Furlong wrote: That code might be GPL'd ;-) It looks a bit too magical, so how about a simple: AC_CHECK_PROG(EGREP, egrep, grep -E) AC_SUBST(EGREP) Instead? (please check that it works!) --Wez. -Original Message- From: Brad House [mailto:[EMAIL PROTECTED] Sent: 26 May 2004 13:32 To: Wez Furlong Cc: 'Brad House'; [EMAIL PROTECTED] Subject: Re: [PHP-CVS] cvs: php-src /ext/mcve config.m4 oops, didn't realize that ... I got an error message with 'phpize' when I tried to use autoconf 2.13, and it said I must use 2.5 ... The reason I added it is someone else did the AC_EGREP_CPP stuff, and it pretty much just hangs on that line without defining $EGREP, and AC_PROG_EGREP is what defines it... Anyhow, is it ok with you if I just add this snippet to the config.m4 file (above the AC_PROG_EGREP call) ... I just ripped it out of the aclocal.m4 that was generated with phpize: # AC_PROG_EGREP # - # This is predefined starting with Autoconf 2.54, so this conditional # definition can be removed once we require Autoconf 2.54 or later. m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], [if echo a | (grep -E '(a|b)') /dev/null 21 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi]) EGREP=$ac_cv_prog_egrep AC_SUBST([EGREP]) ])]) -Brad Wez Furlong wrote: AC_PROG_EGREP is not supported by autoconf 2.13, which is the recommended version to use. Please revert this and solve it some other way, particularly in the 4.3 branch! :-) -Wez. -Original Message- From: Brad House [mailto:[EMAIL PROTECTED] Sent: 25 May 2004 18:09 To: [EMAIL PROTECTED] Subject: [PHP-CVS] cvs: php-src /ext/mcve config.m4 bradmsswTue May 25 13:08:41 2004 EDT Modified files: /php-src/ext/mcve config.m4 Log: PHP_SETUP_OPENSSL is NOT SNMP_SHARED_LIBADD, it's MCVE_SHARED_LIBADD requires AC_PROG_EGREP when you phpize -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-CVS] cvs: php-src /ext/mcve config.m4
oops, didn't realize that ... I got an error message with 'phpize' when I tried to use autoconf 2.13, and it said I must use 2.5 ... The reason I added it is someone else did the AC_EGREP_CPP stuff, and it pretty much just hangs on that line without defining $EGREP, and AC_PROG_EGREP is what defines it... Anyhow, is it ok with you if I just add this snippet to the config.m4 file (above the AC_PROG_EGREP call) ... I just ripped it out of the aclocal.m4 that was generated with phpize: # AC_PROG_EGREP # - # This is predefined starting with Autoconf 2.54, so this conditional # definition can be removed once we require Autoconf 2.54 or later. m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], [if echo a | (grep -E '(a|b)') /dev/null 21 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi]) EGREP=$ac_cv_prog_egrep AC_SUBST([EGREP]) ])]) -Brad Wez Furlong wrote: AC_PROG_EGREP is not supported by autoconf 2.13, which is the recommended version to use. Please revert this and solve it some other way, particularly in the 4.3 branch! :-) -Wez. -Original Message- From: Brad House [mailto:[EMAIL PROTECTED] Sent: 25 May 2004 18:09 To: [EMAIL PROTECTED] Subject: [PHP-CVS] cvs: php-src /ext/mcve config.m4 bradmsswTue May 25 13:08:41 2004 EDT Modified files: /php-src/ext/mcve config.m4 Log: PHP_SETUP_OPENSSL is NOT SNMP_SHARED_LIBADD, it's MCVE_SHARED_LIBADD requires AC_PROG_EGREP when you phpize -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/standard proc_open.c
wez Wed May 26 10:55:32 2004 EDT Modified files: /php-src/ext/standard proc_open.c Log: Apparently it is better to specify 500 here for unix98 bits and pieces. http://cvs.php.net/diff.php/php-src/ext/standard/proc_open.c?r1=1.23r2=1.24ty=u Index: php-src/ext/standard/proc_open.c diff -u php-src/ext/standard/proc_open.c:1.23 php-src/ext/standard/proc_open.c:1.24 --- php-src/ext/standard/proc_open.c:1.23 Sun May 9 07:08:04 2004 +++ php-src/ext/standard/proc_open.cWed May 26 10:55:32 2004 @@ -15,11 +15,12 @@ | Author: Wez Furlong [EMAIL PROTECTED] | +--+ */ -/* $Id: proc_open.c,v 1.23 2004/05/09 11:08:04 stas Exp $ */ +/* $Id: proc_open.c,v 1.24 2004/05/26 14:55:32 wez Exp $ */ -#define _XOPEN_SOURCE +#define _XOPEN_SOURCE 500 #define __EXTENSIONS__ 1 #define _BSD_SOURCE +#define _OSF_SOURCE #include php.h #include stdio.h @@ -52,7 +53,6 @@ * around the alternate code. * */ #ifdef PHP_CAN_SUPPORT_PROC_OPEN - #if HAVE_PTSNAME HAVE_GRANTPT HAVE_UNLOCKPT HAVE_SYS_IOCTL_H HAVE_TERMIOS_H # include sys/ioctl.h -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/standard basic_functions.c
andiWed May 26 14:00:28 2004 EDT Modified files: /php-src/ext/standard basic_functions.c Log: - Use FREE_HASHTABLE instead of efree() http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.667r2=1.668ty=u Index: php-src/ext/standard/basic_functions.c diff -u php-src/ext/standard/basic_functions.c:1.667 php-src/ext/standard/basic_functions.c:1.668 --- php-src/ext/standard/basic_functions.c:1.667Mon May 24 13:02:12 2004 +++ php-src/ext/standard/basic_functions.c Wed May 26 14:00:27 2004 @@ -17,7 +17,7 @@ +--+ */ -/* $Id: basic_functions.c,v 1.667 2004/05/24 17:02:12 iliaa Exp $ */ +/* $Id: basic_functions.c,v 1.668 2004/05/26 18:00:27 andi Exp $ */ #include php.h #include php_streams.h @@ -2153,7 +2153,7 @@ zend_hash_apply(BG(user_shutdown_function_names), (apply_func_t) user_shutdown_function_call TSRMLS_CC); memcpy(EG(bailout), orig_bailout, sizeof(jmp_buf)); zend_hash_destroy(BG(user_shutdown_function_names)); - efree(BG(user_shutdown_function_names)); + FREE_HASHTABLE(BG(user_shutdown_function_names)); } zend_end_try(); } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_4_3) /ext/xslt/tests xslt_backend_info.phpt
iliaa Wed May 26 14:08:32 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/xslt/tests xslt_backend_info.phpt Log: Fixed test failure due to incorrect library check. http://cvs.php.net/diff.php/php-src/ext/xslt/tests/xslt_backend_info.phpt?r1=1.2r2=1.2.2.1ty=u Index: php-src/ext/xslt/tests/xslt_backend_info.phpt diff -u php-src/ext/xslt/tests/xslt_backend_info.phpt:1.2 php-src/ext/xslt/tests/xslt_backend_info.phpt:1.2.2.1 --- php-src/ext/xslt/tests/xslt_backend_info.phpt:1.2 Sun Nov 10 15:01:55 2002 +++ php-src/ext/xslt/tests/xslt_backend_info.phpt Wed May 26 14:08:32 2004 @@ -22,23 +22,21 @@ * not be available depending on what has been linked into the backend. */ -$tmp = explode(\n, xslt_backend_info()); -$info = array(); -foreach($tmp AS $line) { - list($key, $value) = explode(: , $line, 2); - $info[strtolower($key)] = $value; +$libs = ''; +if (preg_match('!Libs: ([^:]+)i!', xslt_backend_info(), $m)) { + $libs = $m[1]; } -if(FALSE === strstr($info['libs'], -lexpat)) { +if(FALSE === strstr($libs, -lexpat)) { die(You're configuration is missing expat, which conflicts with sanity.); } -if(FALSE === strstr($info['libs'], -liconv)) { +if(FALSE === strstr($libs, -liconv)) { echo(You don't have iconv support\n); } else { echo(You have iconv support\n); } -if(FALSE === strstr($info['libs'], -ljs)) { +if(FALSE === strstr($libs, -ljs)) { echo(You don't have JavaScript support\n); } else { echo(You have JavaScript support\n); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/gd/tests bug27582_2.phpt
pajoye Wed May 26 14:12:44 2004 EDT Removed files: /php-src/ext/gd/tests bug27582_2.phpt Log: - Remove this test, it still segfaults anyway (less noise in tests :) ) Already removed in PHP_4_3 branch -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /ext/gettext/tests gettext_basic.phpt
iliaa Wed May 26 14:18:14 2004 EDT Modified files: /php-src/ext/gettext/tests gettext_basic.phpt Log: Prevent test failure when fi_FI locale is not available. http://cvs.php.net/diff.php/php-src/ext/gettext/tests/gettext_basic.phpt?r1=1.1r2=1.2ty=u Index: php-src/ext/gettext/tests/gettext_basic.phpt diff -u php-src/ext/gettext/tests/gettext_basic.phpt:1.1 php-src/ext/gettext/tests/gettext_basic.phpt:1.2 --- php-src/ext/gettext/tests/gettext_basic.phpt:1.1Tue Sep 23 06:00:23 2003 +++ php-src/ext/gettext/tests/gettext_basic.phptWed May 26 14:18:14 2004 @@ -1,9 +1,16 @@ --TEST-- Gettext basic test --SKIPIF-- -?php if (!extension_loaded(gettext)) print skip; ? +?php + if (!extension_loaded(gettext)) { + die(skip\n); + } + if (!setlocale(LC_ALL, 'fi_FI')) { + die(skip fi_FI locale not supported.); + } +? --FILE-- -?php // $Id: gettext_basic.phpt,v 1.1 2003/09/23 10:00:23 sniper Exp $ +?php // $Id: gettext_basic.phpt,v 1.2 2004/05/26 18:18:14 iliaa Exp $ chdir(dirname(__FILE__)); setlocale(LC_ALL, 'fi_FI'); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_4_3) /ext/gettext/tests gettext_basic.phpt
iliaa Wed May 26 14:18:19 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/gettext/tests gettext_basic.phpt Log: MFH: Prevent test failure when fi_FI locale is not available. http://cvs.php.net/diff.php/php-src/ext/gettext/tests/gettext_basic.phpt?r1=1.1.2.1r2=1.1.2.2ty=u Index: php-src/ext/gettext/tests/gettext_basic.phpt diff -u php-src/ext/gettext/tests/gettext_basic.phpt:1.1.2.1 php-src/ext/gettext/tests/gettext_basic.phpt:1.1.2.2 --- php-src/ext/gettext/tests/gettext_basic.phpt:1.1.2.1Tue Sep 23 20:44:23 2003 +++ php-src/ext/gettext/tests/gettext_basic.phptWed May 26 14:18:19 2004 @@ -1,9 +1,16 @@ --TEST-- Gettext basic test --SKIPIF-- -?php if (!extension_loaded(gettext)) print skip; ? +?php + if (!extension_loaded(gettext)) { + die(skip\n); + } + if (!setlocale(LC_ALL, 'fi_FI')) { + die(skip fi_FI locale not supported.); + } +? --FILE-- -?php // $Id: gettext_basic.phpt,v 1.1.2.1 2003/09/24 00:44:23 sniper Exp $ +?php // $Id: gettext_basic.phpt,v 1.1.2.2 2004/05/26 18:18:19 iliaa Exp $ chdir(dirname(__FILE__)); setlocale(LC_ALL, 'fi_FI'); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src / run-tests.php
iliaa Wed May 26 14:23:21 2004 EDT Modified files: /php-srcrun-tests.php Log: Turn off session.auto_start to prevent test failures. http://cvs.php.net/diff.php/php-src/run-tests.php?r1=1.194r2=1.195ty=u Index: php-src/run-tests.php diff -u php-src/run-tests.php:1.194 php-src/run-tests.php:1.195 --- php-src/run-tests.php:1.194 Fri Apr 30 04:18:54 2004 +++ php-src/run-tests.php Wed May 26 14:23:21 2004 @@ -179,6 +179,7 @@ 'auto_append_file=', 'magic_quotes_runtime=0', 'xdebug.default_enable=0', + 'session.auto_start=0' ); $info_params = array(); settings2array($ini_overwrites,$info_params); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_4_3) / run-tests.php
iliaa Wed May 26 14:23:24 2004 EDT Modified files: (Branch: PHP_4_3) /php-srcrun-tests.php Log: MFH: Turn off session.auto_start to prevent test failures. http://cvs.php.net/diff.php/php-src/run-tests.php?r1=1.119.2.36r2=1.119.2.37ty=u Index: php-src/run-tests.php diff -u php-src/run-tests.php:1.119.2.36 php-src/run-tests.php:1.119.2.37 --- php-src/run-tests.php:1.119.2.36Fri Apr 30 13:54:45 2004 +++ php-src/run-tests.php Wed May 26 14:23:23 2004 @@ -159,6 +159,7 @@ 'auto_prepend_file=', 'auto_append_file=', 'magic_quotes_runtime=0', + 'session.auto_start=0' ); $info_params = array(); settings2array($ini_overwrites,$info_params); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src /main/streams filter.c php_stream_filter_api.h
wez Wed May 26 17:19:21 2004 EDT Modified files: /php-src/main/streams filter.c php_stream_filter_api.h Log: Fix silly mistake. Thanks Antony :) http://cvs.php.net/diff.php/php-src/main/streams/filter.c?r1=1.11r2=1.12ty=u Index: php-src/main/streams/filter.c diff -u php-src/main/streams/filter.c:1.11 php-src/main/streams/filter.c:1.12 --- php-src/main/streams/filter.c:1.11 Wed Mar 31 22:52:34 2004 +++ php-src/main/streams/filter.c Wed May 26 17:19:21 2004 @@ -16,7 +16,7 @@ +--+ */ -/* $Id: filter.c,v 1.11 2004/04/01 03:52:34 pollita Exp $ */ +/* $Id: filter.c,v 1.12 2004/05/26 21:19:21 wez Exp $ */ #include php.h #include php_globals.h @@ -283,7 +283,7 @@ pefree(filter, filter-is_persistent); } -PHPAPI void php_stream_filter_prepend(php_stream_filter_chain *chain, php_stream_filter *filter TSRMLS_DC) +PHPAPI void _php_stream_filter_prepend(php_stream_filter_chain *chain, php_stream_filter *filter TSRMLS_DC) { filter-next = chain-head; filter-prev = NULL; @@ -297,7 +297,7 @@ filter-chain = chain; } -PHPAPI void php_stream_filter_append(php_stream_filter_chain *chain, php_stream_filter *filter TSRMLS_DC) +PHPAPI void _php_stream_filter_append(php_stream_filter_chain *chain, php_stream_filter *filter TSRMLS_DC) { php_stream *stream = chain-stream; http://cvs.php.net/diff.php/php-src/main/streams/php_stream_filter_api.h?r1=1.8r2=1.9ty=u Index: php-src/main/streams/php_stream_filter_api.h diff -u php-src/main/streams/php_stream_filter_api.h:1.8 php-src/main/streams/php_stream_filter_api.h:1.9 --- php-src/main/streams/php_stream_filter_api.h:1.8Wed Mar 31 18:48:59 2004 +++ php-src/main/streams/php_stream_filter_api.hWed May 26 17:19:21 2004 @@ -19,7 +19,7 @@ +--+ */ -/* $Id: php_stream_filter_api.h,v 1.8 2004/03/31 23:48:59 pollita Exp $ */ +/* $Id: php_stream_filter_api.h,v 1.9 2004/05/26 21:19:21 wez Exp $ */ /* The filter API works on the principle of Bucket-Brigades. This is * partially inspired by the Apache 2 method of doing things, although @@ -129,8 +129,8 @@ END_EXTERN_C() #define php_stream_filter_alloc(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr), (persistent) STREAMS_CC TSRMLS_CC) #define php_stream_filter_alloc_rel(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr), (persistent) STREAMS_REL_CC TSRMLS_CC) -#define php_stream_fitler_prepend(chain, filter) _php_stream_filter_prepend((chain), (filter) TSRMLS_CC) -#define php_stream_fitler_append(chain, filter) _php_stream_filter_append((chain), (filter) TSRMLS_CC) +#define php_stream_filter_prepend(chain, filter) _php_stream_filter_prepend((chain), (filter) TSRMLS_CC) +#define php_stream_filter_append(chain, filter) _php_stream_filter_append((chain), (filter) TSRMLS_CC) #define php_stream_is_filtered(stream) ((stream)-readfilters.head || (stream)-writefilters.head) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php