From: Antony Dovgal Date: Fri, 11 Jul 2008 08:53:43 +0000 (+0000) Subject: fix function protos and is_link() wrapper X-Git-Tag: php-5.3.0alpha1~405 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=120f19b6a6cfdcc23da404d0b4f356c09a019a52;p=php fix function protos and is_link() wrapper --- diff --git a/ext/phar/func_interceptors.c b/ext/phar/func_interceptors.c index aa39b0a5f5..efc07dc4bb 100644 --- a/ext/phar/func_interceptors.c +++ b/ext/phar/func_interceptors.c @@ -883,13 +883,13 @@ PharFileFunction(phar_is_readable, FS_IS_R, orig_is_readable) PharFileFunction(phar_is_executable, FS_IS_X, orig_is_executable) /* }}} */ -/* {{{ proto bool is_executable(string filename) - Returns true if file is executable */ +/* {{{ proto bool file_exists(string filename) + Returns true if filename exists */ PharFileFunction(phar_file_exists, FS_EXISTS, orig_file_exists) /* }}} */ -/* {{{ proto bool is_executable(string filename) - Returns true if file is executable */ +/* {{{ proto bool is_dir(string filename) + Returns true if file is directory */ PharFileFunction(phar_is_dir, FS_IS_DIR, orig_is_dir) /* }}} */ @@ -1018,7 +1018,7 @@ found_it: } } skip_phar: - PHAR_G(orig_file_exists)(INTERNAL_FUNCTION_PARAM_PASSTHRU); + PHAR_G(orig_is_link)(INTERNAL_FUNCTION_PARAM_PASSTHRU); return; } /* }}} */