1
0
Fork 0

stat on resolved path

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@950 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 2012-07-02 07:09:26 +00:00
parent 1b6918396f
commit fe16be2053
1 changed files with 1 additions and 1 deletions

View File

@ -1112,7 +1112,7 @@ static int xc_entry_php_resolve_opened_path(xc_compiler_t *compiler, struct stat
strcpy(compiler->opened_path_buffer, opened_path);
efree(opened_path);
compiler->opened_path = compiler->opened_path_buffer;
if (!statbuf || VCWD_STAT(compiler->filename, statbuf) == 0) {
if (!statbuf || VCWD_STAT(compiler->opened_path, statbuf) == 0) {
return SUCCESS;
}
}