From: Greg Beaver Date: Tue, 12 Feb 2008 05:38:01 +0000 (+0000) Subject: fix TSRM build X-Git-Tag: RELEASE_2_0_0a1~510 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=592635d0c034d7d8a013df0ebd5e56ad2d9c1e0e;p=php fix TSRM build --- diff --git a/ext/phar/util.c b/ext/phar/util.c index 4b4bfc27fa..b72328b072 100644 --- a/ext/phar/util.c +++ b/ext/phar/util.c @@ -27,6 +27,7 @@ php_stream *phar_get_efp(phar_entry_info *entry) { if (entry->fp_type == PHAR_FP) { if (!entry->phar->fp) { + TSRMLS_FETCH(); /* re-open just in time for cases where our refcount reached 0 on the phar archive */ phar_open_archive_fp(entry->phar TSRMLS_CC); }