summaryrefslogtreecommitdiff
path: root/main/fopen_wrappers.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-07-21 15:13:19 +0000
committerAndi Gutmans <andi@php.net>2001-07-21 15:13:19 +0000
commit7ce18467614aa2339d87eac6bf8e8b50acb719ba (patch)
treeb3360f340a7afcc21e2685315ba7244aa0c90b5f /main/fopen_wrappers.c
parent4715403906a6ce35bb16bea710fb90796b95ae8a (diff)
downloadphp-git-7ce18467614aa2339d87eac6bf8e8b50acb719ba.tar.gz
- Shouldn't be needed anymore
Diffstat (limited to 'main/fopen_wrappers.c')
-rw-r--r--main/fopen_wrappers.c2
1 files changed, 0 insertions, 2 deletions
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;
}