2fc572ef1d
(endless loop): http://bugs.php.net/bug.php?id=35067 Pull in a patch from the php CVS repository to fix this, as suggested a squirrelmail mailing list: http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.543.2.51.2.3&r2=1.543.2.51.2.4&ty=u OK'd by Jaromir Dolecek, tested on apache-1 and apache-2 servers. Bump pkgrevision.
15 lines
567 B
Text
15 lines
567 B
Text
$NetBSD: patch-ab,v 1.20 2005/11/08 20:33:55 bouyer Exp $
|
|
|
|
--- ext/standard/basic_functions.c.orig Tue Nov 8 18:08:58 2005
|
|
+++ ext/standard/basic_functions.c Tue Nov 8 18:08:28 2005
|
|
@@ -802,8 +802,8 @@
|
|
PHP_FE(prev, first_arg_force_ref)
|
|
PHP_FE(next, first_arg_force_ref)
|
|
PHP_FE(reset, first_arg_force_ref)
|
|
- PHP_FE(current, NULL)
|
|
- PHP_FE(key, NULL)
|
|
+ PHP_FE(current, first_arg_force_ref)
|
|
+ PHP_FE(key, first_arg_force_ref)
|
|
PHP_FE(min, NULL)
|
|
PHP_FE(max, NULL)
|
|
PHP_FE(in_array, NULL)
|