summaryrefslogtreecommitdiff
path: root/www/php4/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'www/php4/patches/patch-ab')
-rw-r--r--www/php4/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/php4/patches/patch-ab b/www/php4/patches/patch-ab
new file mode 100644
index 00000000000..dd9a1d16673
--- /dev/null
+++ b/www/php4/patches/patch-ab
@@ -0,0 +1,15 @@
+$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)