From 120f19b6a6cfdcc23da404d0b4f356c09a019a52 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Fri, 11 Jul 2008 08:53:43 +0000 Subject: [PATCH] fix function protos and is_link() wrapper --- ext/phar/func_interceptors.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; } /* }}} */ -- 2.50.1