]> granicus.if.org Git - php/commitdiff
Fix missing statement
authorZeev Suraski <zeev@php.net>
Sat, 5 May 2001 16:04:14 +0000 (16:04 +0000)
committerZeev Suraski <zeev@php.net>
Sat, 5 May 2001 16:04:14 +0000 (16:04 +0000)
TSRM/tsrm_virtual_cwd.c

index 80e09e5decd0c860e483da889d3c059da1fdcbf6..14fc92b34335d612f5b6258feee2930a283b0a7e 100644 (file)
@@ -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;                }