From: Greg Beaver Date: Sat, 19 Apr 2008 17:24:26 +0000 (+0000) Subject: fix ZTS build and Phar::isValidPharFilename X-Git-Tag: RELEASE_2_0_0b1~320 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f870b8ae74456c3d488eb3c745848ef516b80f3d;p=php fix ZTS build and Phar::isValidPharFilename --- diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 852749bac3..a1b01a4a17 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -1090,7 +1090,7 @@ PHP_METHOD(Phar, isValidPharFilename) } fname_len = executable; - RETURN_BOOL(phar_detect_phar_fname_ext(fname, 1, &ext_str, &ext_len, fname_len, 1, 1) == SUCCESS); + RETURN_BOOL(phar_detect_phar_fname_ext(fname, 1, &ext_str, &ext_len, fname_len, executable, 1 TSRMLS_CC) == SUCCESS); } /* }}} */