cvs: php4 /main fopen-wrappers.c

From: Date: Fri, 16 Jun 2000 01:25:02 +0000
Subject: cvs: php4 /main fopen-wrappers.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-303@lists.php.net to get a copy of this message
andi Thu Jun 15 18:25:02 2000 EDT Modified files: /php4/main fopen-wrappers.c Log: - Don't need to check doc_root's length twice Index: php4/main/fopen-wrappers.c diff -u php4/main/fopen-wrappers.c:1.67 php4/main/fopen-wrappers.c:1.68 --- php4/main/fopen-wrappers.c:1.67 Thu Jun 15 18:23:03 2000 +++ php4/main/fopen-wrappers.c Thu Jun 15 18:25:02 2000 @@ -16,7 +16,7 @@ | Jim Winstead <jimw@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: fopen-wrappers.c,v 1.67 2000/06/16 01:23:03 andi Exp $ */ +/* $Id: fopen-wrappers.c,v 1.68 2000/06/16 01:25:02 andi Exp $ */ #include "php.h" #include "php_globals.h" @@ -333,7 +333,6 @@ #else if (IS_SLASH(*PG(doc_root))) { #endif - length = strlen(PG(doc_root)); filename = emalloc(length + strlen(path_info) + 2); if (filename) { memcpy(filename, PG(doc_root), length);

« previous php.cvs (#303) next »