]> granicus.if.org Git - php/commitdiff
Move persistent into ZEND_DEBUG section
authorSascha Schumann <sas@php.net>
Tue, 6 May 2003 11:53:33 +0000 (11:53 +0000)
committerSascha Schumann <sas@php.net>
Tue, 6 May 2003 11:53:33 +0000 (11:53 +0000)
main/streams.c

index 8bb0a0e5f0b0a67e310353f404bb5f2bc7fa9170..d99014d6393b110271e05d9942625442bfb9e9e3 100755 (executable)
@@ -2553,8 +2553,8 @@ PHPAPI php_stream *_php_stream_open_wrapper_ex(char *path, char *mode, int optio
        php_stream *stream = NULL;
        php_stream_wrapper *wrapper = NULL;
        char *path_to_open;
-       int persistent = options & STREAM_OPEN_PERSISTENT;
 #if ZEND_DEBUG
+       int persistent = options & STREAM_OPEN_PERSISTENT;
        char *copy_of_path = NULL;
 #endif