]> granicus.if.org Git - php/commitdiff
- Add .cvsignore
authorMarcus Boerger <helly@php.net>
Sun, 23 Mar 2008 16:51:52 +0000 (16:51 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 23 Mar 2008 16:51:52 +0000 (16:51 +0000)
ext/phar/phar.c

index e6c1fca5736c79b0b9e7071e619d277b213b0f83..d94ab50acb5e339a0fe27f28a51cf3f5fd3af383 100644 (file)
@@ -2590,7 +2590,7 @@ static zend_op_array *phar_compile_file(zend_file_handle *file_handle, int type
                                }
                        } else if (phar->flags & PHAR_FILE_COMPRESSION_MASK) {
                                /* compressed phar */
-#if PHP_VERSION_ID >= 50300
+#if PHP_VERSION_ID >= 50300 && PHP_VERSION_ID < 60000
                                file_handle->type = ZEND_HANDLE_STREAM;
                                file_handle->free_filename = 0;
                                file_handle->handle.stream.handle  = phar;