]> granicus.if.org Git - php/commit
do not attempt to create a new phar if a file exists and is corrupted or is not a...
authorGreg Beaver <cellog@php.net>
Sat, 5 Jan 2008 22:46:54 +0000 (22:46 +0000)
committerGreg Beaver <cellog@php.net>
Sat, 5 Jan 2008 22:46:54 +0000 (22:46 +0000)
commit2fa568b7b00e2d3601c1cb8ef6afac6edd0b3b7c
tree9a263c549808459217ae0f673947a1ddf4c4bf3d
parentec0cd27f0d6bdb859240662401508f16e2cfc9ac
do not attempt to create a new phar if a file exists and is corrupted or is not a phar archive,
i.e. require a clean slate - a non-existent file or a valid phar archive - to muck around with phar contents
add the first tar-based phar test
ext/phar/phar.c
ext/phar/tests/tar/make_invalid_tar.php.inc [new file with mode: 0644]
ext/phar/tests/tar/tar_001.phpt [new file with mode: 0644]
ext/phar/tests/tar/tarmaker.php.inc [new file with mode: 0644]