From: Antony Dovgal Date: Mon, 17 Mar 2008 08:55:56 +0000 (+0000) Subject: fix 5_3 ZTS build X-Git-Tag: RELEASE_2_0_0a1~125 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=044f39293b4806ef954e7b5625621866d2b64d5e;p=php fix 5_3 ZTS build --- diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 1f912bed8c..be5c763fed 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -297,7 +297,11 @@ static int phar_file_action(phar_entry_data *phar, char *mime_type, int code, ch zend_destroy_file_handle(&file_handle TSRMLS_CC); } else { new_op_array = NULL; +#if PHP_VERSION_ID >= 50300 + zend_file_handle_dtor(&file_handle TSRMLS_CC); +#else zend_file_handle_dtor(&file_handle); +#endif } #ifdef PHP_WIN32 efree(arch);