From: Antony Dovgal Date: Sun, 12 Oct 2008 21:09:10 +0000 (+0000) Subject: fix ZTS build X-Git-Tag: BEFORE_HEAD_NS_CHANGE~238 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79ec5dc2b9d09a3abe3217164bf6095c140beebe;p=php fix ZTS build --- diff --git a/ext/phar/phar.c b/ext/phar/phar.c index 183fec4487..31efbcab33 100644 --- a/ext/phar/phar.c +++ b/ext/phar/phar.c @@ -2737,7 +2737,7 @@ int phar_flush(phar_archive_data *phar, char *user_stub, long len, int convert, } /* after excluding deleted files, calculate manifest size in bytes and number of entries */ ++new_manifest_count; - phar_add_virtual_dirs(phar, entry->filename, entry->filename_len); + phar_add_virtual_dirs(phar, entry->filename, entry->filename_len TSRMLS_CC); if (entry->is_dir) { /* we use this to calculate API version, 1.1.1 is used for phars with directories */ diff --git a/ext/phar/tar.c b/ext/phar/tar.c index bcd75c325a..e1ec700a1a 100644 --- a/ext/phar/tar.c +++ b/ext/phar/tar.c @@ -620,7 +620,7 @@ static int phar_tar_writeheaders(void *pDest, void *argument TSRMLS_DC) /* {{{ * } } - phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); + phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len TSRMLS_CC); memset((char *) &header, 0, sizeof(header)); if (entry->filename_len > 100) { diff --git a/ext/phar/zip.c b/ext/phar/zip.c index 891280eb6e..b942bcee61 100644 --- a/ext/phar/zip.c +++ b/ext/phar/zip.c @@ -704,7 +704,7 @@ static int phar_zip_changed_apply(void *data, void *arg TSRMLS_DC) /* {{{ */ } } - phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len); + phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len TSRMLS_CC); memset(&local, 0, sizeof(local)); memset(¢ral, 0, sizeof(central)); memset(&perms, 0, sizeof(perms));