Browse Source

Store existent file in realpath cache

PHAR_1_2
Dmitry Stogov 19 years ago
parent
commit
4d159caf3f
  1. 1
      TSRM/tsrm_virtual_cwd.c

1
TSRM/tsrm_virtual_cwd.c

@ -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);

Loading…
Cancel
Save