cvs: php4 /main rfc1867.c

From: Date: Mon, 04 Sep 2000 20:47:52 +0000
Subject: cvs: php4 /main rfc1867.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1552@lists.php.net to get a copy of this message
zeev Mon Sep 4 13:47:52 2000 EDT Modified files: /php4/main rfc1867.c Log: 3rd time's a charm Index: php4/main/rfc1867.c diff -u php4/main/rfc1867.c:1.41 php4/main/rfc1867.c:1.42 --- php4/main/rfc1867.c:1.41 Mon Sep 4 13:46:10 2000 +++ php4/main/rfc1867.c Mon Sep 4 13:47:52 2000 @@ -15,7 +15,7 @@ | Authors: Rasmus Lerdorf <rasmus@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: rfc1867.c,v 1.41 2000/09/04 20:46:10 zeev Exp $ */ +/* $Id: rfc1867.c,v 1.42 2000/09/04 20:47:52 zeev Exp $ */ #include <stdio.h> #include "php.h" @@ -202,10 +202,8 @@ } abuf = estrndup(namebuf, strlen(namebuf)-arr_len); sprintf(lbuf, "%s_name[%s]", abuf, arr_index); - add_protected_variable(lbuf PLS_CC); } else { sprintf(lbuf, "%s_name", namebuf); - add_protected_variable(lbuf PLS_CC); } s = strrchr(filenamebuf, '\\'); if (s && s > filenamebuf) { @@ -213,6 +211,7 @@ } else { safe_php_register_variable(lbuf, filenamebuf, NULL ELS_CC PLS_CC); } + add_protected_variable(lbuf PLS_CC); /* Add $foo[name] */ if (is_arr_upload) {

« previous php.cvs (#1552) next »