cvs: /php4 TODO main.c

From: Date: Fri, 28 Jan 2000 17:30:07 +0000
Subject: cvs: /php4 TODO main.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-9522@lists.php.net to get a copy of this message
andrei Fri Jan 28 09:30:07 2000 EDT Modified files: /php4 TODO main.c Log: Use sizeof on the proper string. Index: php4/TODO diff -u php4/TODO:1.34 php4/TODO:1.35 --- php4/TODO:1.34 Fri Jan 7 03:12:29 2000 +++ php4/TODO Fri Jan 28 09:29:37 2000 @@ -48,6 +48,7 @@ ext/standard ------------ * strpad() (Andrei) + * stri_replace() (Andrei) * comparing arrays semantically (like Python) (Andrei) * NOT binary safe: strtok() Index: php4/main.c diff -u php4/main.c:1.183 php4/main.c:1.184 --- php4/main.c:1.183 Fri Jan 28 09:24:49 2000 +++ php4/main.c Fri Jan 28 09:29:37 2000 @@ -19,7 +19,7 @@ */ -/* $Id: main.c,v 1.183 2000/01/28 17:24:49 zeev Exp $ */ +/* $Id: main.c,v 1.184 2000/01/28 17:29:37 andrei Exp $ */ #include <stdio.h> @@ -1004,7 +1004,7 @@ ALLOC_ZVAL(array_ptr); array_init(array_ptr); INIT_PZVAL(array_ptr); - zend_hash_add(&EG(symbol_table), "HTTP_SERVER_VARS", sizeof("HTTP_ENV_VARS"), &array_ptr, sizeof(pval *),NULL); + zend_hash_add(&EG(symbol_table), "HTTP_SERVER_VARS", sizeof("HTTP_SERVER_VARS"), &array_ptr, sizeof(pval *),NULL); } sapi_module.register_server_variables(array_ptr ELS_CC SLS_CC PLS_CC); }

« previous php.version4 (#9522) next »