Browse Source

yet another appempt to fix Windows bug

thanks Rob for the patch
migration/RELEASE_1_0_0
Antony Dovgal 20 years ago
parent
commit
ead46d043f
  1. 4
      TSRM/tsrm_virtual_cwd.c

4
TSRM/tsrm_virtual_cwd.c

@ -720,7 +720,9 @@ CWD_API int virtual_access(const char *pathname, int mode TSRMLS_DC)
int ret;
CWD_STATE_COPY(&new_state, &CWDG(cwd));
virtual_file_ex(&new_state, pathname, NULL, 1);
if (virtual_file_ex(&new_state, pathname, NULL, 1)) {
return -1;
}
#if defined(TSRM_WIN32)
ret = tsrm_win32_access(new_state.cwd, mode);

Loading…
Cancel
Save