[PHP4BETA] CVS update: php4/ext/standard

From: Date: Wed, 05 May 1999 21:29:26 +0000
Subject: [PHP4BETA] CVS update: php4/ext/standard
Groups: php.version4 
Request: Send a blank email to php-version4+get-664@lists.php.net to get a copy of this message
Date: Wednesday May 5, 1999 @ 17:29 Author: zeev Update of /repository/php4/ext/standard In directory php:/tmp/cvs-serv9753/ext/standard Modified Files: basic_functions.c head.c Log Message: Fixes Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.12 php4/ext/standard/basic_functions.c:1.13 --- php4/ext/standard/basic_functions.c:1.12 Wed Apr 28 16:26:33 1999 +++ php4/ext/standard/basic_functions.c Wed May 5 17:29:26 1999 @@ -291,6 +291,8 @@ PHP_FE(ini_restore, NULL) PHP_FE(print_r, NULL) + {"setcookie", php3_SetCookie, NULL}, + {"header", php3_Header, NULL}, {NULL, NULL, NULL} }; Index: php4/ext/standard/head.c diff -u php4/ext/standard/head.c:1.9 php4/ext/standard/head.c:1.10 --- php4/ext/standard/head.c:1.9 Wed May 5 17:05:44 1999 +++ php4/ext/standard/head.c Wed May 5 17:29:26 1999 @@ -26,7 +26,7 @@ | Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> | +----------------------------------------------------------------------+ */ -/* $Id: head.c,v 1.9 1999/05/05 21:05:44 zeev Exp $ */ +/* $Id: head.c,v 1.10 1999/05/05 21:29:26 zeev Exp $ */ #include <stdio.h> #include "php.h" @@ -221,6 +221,8 @@ } convert_to_string(arg1); php4i_add_header_information(arg1->value.str.val, arg1->value.str.len); + arg1->type = IS_LONG; /* change arg1's type so that it doesn't get freed */ + arg1->value.lval = 0; } @@ -572,8 +574,6 @@ function_entry php3_header_functions[] = { - {"setcookie", php3_SetCookie, NULL}, - {"header", php3_Header, NULL}, {NULL, NULL, NULL} }; -- PHP 4 Beta

« previous php.version4 (#664) next »