1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 22:11:12 +02:00

add test for bug #13727, fix bug #13727

This commit is contained in:
Greg Beaver
2008-04-25 16:50:22 +00:00
parent 2bf5042d74
commit 8657ab7e5a
2 changed files with 16418 additions and 0 deletions

View File

@@ -3127,6 +3127,7 @@ PHP_METHOD(Phar, addFile)
php_stream_to_zval(resource, zresource);
phar_add_file(phar_obj->arc.archive, fname, fname_len, NULL, 0, zresource TSRMLS_CC);
efree(zresource);
php_stream_close(resource);
}
/* }}} */

16417
ext/phar/tests/bug13727.phpt Normal file

File diff suppressed because it is too large Load Diff