diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-11-05 14:50:17 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-11-05 14:50:17 +0000 |
commit | cfe0c82034e5ed8de3df373eab4a5545be688141 (patch) | |
tree | cfc0feec4038b63df74ee37c10fef5b0cc482524 /TSRM/tsrm_virtual_cwd.h | |
parent | 177b24a44ee3b0ff39889a1ef1f896edf559a389 (diff) | |
download | php-git-cfe0c82034e5ed8de3df373eab4a5545be688141.tar.gz |
Added 4th argument to virtual_file_ex() that specifies whether or not
realpath() should be used during path resolving. In a number of functions
we do not want to use realpath(), since realpath() will resolve symlinks.
Diffstat (limited to 'TSRM/tsrm_virtual_cwd.h')
-rw-r--r-- | TSRM/tsrm_virtual_cwd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h index 2ecc01c004..18452304fd 100644 --- a/TSRM/tsrm_virtual_cwd.h +++ b/TSRM/tsrm_virtual_cwd.h @@ -163,7 +163,7 @@ CWD_API int virtual_chmod(const char *filename, mode_t mode TSRMLS_DC); CWD_API int virtual_chown(const char *filename, uid_t owner, gid_t group TSRMLS_DC); #endif -CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path); +CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path, int use_realpath); typedef struct _virtual_cwd_globals { cwd_state cwd; |