summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-05-05 16:04:14 +0000
committerZeev Suraski <zeev@php.net>2001-05-05 16:04:14 +0000
commit70b6c55ce6924f3e5a35826bc01d058c743ae9ec (patch)
treedce60ba3f1be8547925921c0524eac7e42bc9de6 /TSRM
parente1ddd48bd48634597255dadde17ad732105df0bd (diff)
downloadphp-git-70b6c55ce6924f3e5a35826bc01d058c743ae9ec.tar.gz
Fix missing statement
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c
index 80e09e5dec..14fc92b343 100644
--- a/TSRM/tsrm_virtual_cwd.c
+++ b/TSRM/tsrm_virtual_cwd.c
@@ -369,6 +369,8 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
if (state->cwd[state->cwd_length-1]!=DEFAULT_SLASH) {
state->cwd[state->cwd_length++] = DEFAULT_SLASH;
}
+#else
+ state->cwd[state->cwd_length++] = DEFAULT_SLASH;
#endif
memcpy(&state->cwd[state->cwd_length], ptr, ptr_length+1);
state->cwd_length += ptr_length; }