diff options
author | Pierre Joye <pajoye@php.net> | 2009-06-26 07:39:42 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2009-06-26 07:39:42 +0000 |
commit | 5f2df5d064ec072b4c2410e7bbe04336932a9b3e (patch) | |
tree | b86b3907de3e860916e7f8b25aa70553af682d8c /TSRM | |
parent | 68a3c3f9524723dc404fcb2f67a7ec257d266303 (diff) | |
download | php-git-5f2df5d064ec072b4c2410e7bbe04336932a9b3e.tar.gz |
- WS
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_virtual_cwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index f2bab3bf89..7b33b02048 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -646,7 +646,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i memcpy(path, bucket->realpath, bucket->realpath_len + 1); return bucket->realpath_len; } - } + } } #ifdef TSRM_WIN32 @@ -1099,7 +1099,7 @@ CWD_API char *virtual_realpath(const char *path, char *real_path TSRMLS_DC) /* { new_state.cwd[0] = '\0'; new_state.cwd_length = 0; } - + if (virtual_file_ex(&new_state, path, NULL, CWD_REALPATH)==0) { int len = new_state.cwd_length>MAXPATHLEN-1?MAXPATHLEN-1:new_state.cwd_length; |