summaryrefslogtreecommitdiff
path: root/ext/phar/phar_object.c
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2009-07-26 02:18:50 +0000
committerGreg Beaver <cellog@php.net>2009-07-26 02:18:50 +0000
commit96dd763df469521eddff00259d3fbaae7faa369b (patch)
tree108f709309dda08c564bf9d2259c3d314d311076 /ext/phar/phar_object.c
parenta37d7529bace78c2ceee2271c0b35f60a8bad1be (diff)
downloadphp-git-96dd763df469521eddff00259d3fbaae7faa369b.tar.gz
fix generation of phar.phar in php 6, fix remaining tests broken by PHP 6 (and not by spl/other stuff in php6)
Diffstat (limited to 'ext/phar/phar_object.c')
-rwxr-xr-xext/phar/phar_object.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c
index e908ad1d81..d7beb43de3 100755
--- a/ext/phar/phar_object.c
+++ b/ext/phar/phar_object.c
@@ -990,7 +990,9 @@ unicode_found:
}
}
+#if PHP_MAJOR_VERSION >= 6
notfound:
+#endif
if (!mime_type) {
code = phar_file_type(&PHAR_G(mime_types), entry, &mime_type TSRMLS_CC);
}