]> granicus.if.org Git - php/commitdiff
fix TSRM build
authorGreg Beaver <cellog@php.net>
Tue, 12 Feb 2008 05:38:01 +0000 (05:38 +0000)
committerGreg Beaver <cellog@php.net>
Tue, 12 Feb 2008 05:38:01 +0000 (05:38 +0000)
ext/phar/util.c

index 4b4bfc27faed2773a9ff8349a37c479c9c290fe8..b72328b07213b69a5c71bc7844ed2195fe1e0c9b 100644 (file)
@@ -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);
                }