From: Andi Gutmans Date: Sat, 21 Jul 2001 15:13:19 +0000 (+0000) Subject: - Shouldn't be needed anymore X-Git-Tag: PRE_TSRM_MERGE_PATCH~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ce18467614aa2339d87eac6bf8e8b50acb719ba;p=php - Shouldn't be needed anymore --- diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 90b7cbc5ef..6e05d059bb 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -352,7 +352,6 @@ PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle) we're not adding it in this case */ STR_FREE(SG(request_info).path_translated); SG(request_info).path_translated = NULL; - file_handle->handle.fp = NULL; return FAILURE; } fp = VCWD_FOPEN(filename, "rb"); @@ -365,7 +364,6 @@ PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle) if (!fp) { php_error(E_ERROR, "Unable to open %s", filename); STR_FREE(SG(request_info).path_translated); /* for same reason as above */ - file_handle->handle.fp = NULL; return FAILURE; }