Store existent file in realpath cache

This commit is contained in:
Dmitry Stogov 2007-07-03 14:48:01 +00:00
parent 9beffb1971
commit e99013d039

View File

@ -547,6 +547,7 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
}
goto no_realpath;
}
use_realpath = CWD_REALPATH;
CWD_STATE_COPY(&old_state, state);
state->cwd_length = strlen(resolved_path);