summaryrefslogtreecommitdiff
path: root/ext/phar/func_interceptors.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2008-07-11 08:53:43 +0000
committerAntony Dovgal <tony2001@php.net>2008-07-11 08:53:43 +0000
commit120f19b6a6cfdcc23da404d0b4f356c09a019a52 (patch)
tree282ccd0bef53f0c1ef102e84030f80e438a083a6 /ext/phar/func_interceptors.c
parent5ab9ca968bc9b8c1348403dc8054695a39017adf (diff)
downloadphp-git-120f19b6a6cfdcc23da404d0b4f356c09a019a52.tar.gz
fix function protos and is_link() wrapper
Diffstat (limited to 'ext/phar/func_interceptors.c')
-rw-r--r--ext/phar/func_interceptors.c10
1 files 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;
}
/* }}} */