]> granicus.if.org Git - php/commit
implement full support and usage of phar stream in include_path, for both 5.2 and...
authorGreg Beaver <cellog@php.net>
Wed, 12 Mar 2008 03:55:12 +0000 (03:55 +0000)
committerGreg Beaver <cellog@php.net>
Wed, 12 Mar 2008 03:55:12 +0000 (03:55 +0000)
commit0262e844c4c18a9d1b6574df444b3f6adb5f835a
tree4d9583b592f9bb5f234cacab634618f7f16838d3
parent70e30449bb2d55c9698eb5d0c787d20e3b5c1a23
implement full support and usage of phar stream in include_path, for both 5.2 and 5.3.
5.3 code expects the proposed patch for stream wrapper in include_path to be committed
5.2 code only supports phar stream wrapper in include_path.
this is a 2-step process.  After this, more magic, particularly in funcinterceptors.c will be
converted to use phar_resolve_path, which is far safer than the current implementation.

this needs windows and 5.2 testing unix/windows
24 files changed:
ext/phar/func_interceptors.c
ext/phar/phar.c
ext/phar/phar_internal.h
ext/phar/shortarc.php
ext/phar/stream.c
ext/phar/stub.h
ext/phar/tests/files/frontcontroller13.phar
ext/phar/tests/files/nophar.phar
ext/phar/tests/include_path.phpt [new file with mode: 0644]
ext/phar/tests/phar_commitwrite.phpt
ext/phar/tests/phar_convert_repeated.phpt
ext/phar/tests/phar_convert_repeated_b.phpt
ext/phar/tests/phar_create_in_cwd.phpt
ext/phar/tests/phar_createdefaultstub.phpt
ext/phar/tests/phar_magic.phpt
ext/phar/tests/phar_setdefaultstub.phpt
ext/phar/tests/tar/phar_convert_phar.phpt
ext/phar/tests/tar/phar_convert_phar2.phpt
ext/phar/tests/tar/phar_convert_phar3.phpt
ext/phar/tests/tar/phar_magic.phpt
ext/phar/tests/tempmanifest1.phpt [deleted file]
ext/phar/tests/zip/phar_convert_phar.phpt
ext/phar/tests/zip/phar_magic.phpt
ext/phar/util.c