]> granicus.if.org Git - php/commitdiff
- Shouldn't be needed anymore
authorAndi Gutmans <andi@php.net>
Sat, 21 Jul 2001 15:13:19 +0000 (15:13 +0000)
committerAndi Gutmans <andi@php.net>
Sat, 21 Jul 2001 15:13:19 +0000 (15:13 +0000)
main/fopen_wrappers.c

index 90b7cbc5efba9a405fe828bd6c72abeffee40b41..6e05d059bbe8fa625a4c85af91817a0089596ca9 100644 (file)
@@ -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;
        }