Browse Source

- be sure that the directory flag is set when we save a path in the cache

experimental/5.3-FPM
Pierre Joye 17 years ago
parent
commit
eeb9429de5
  1. 1
      TSRM/tsrm_virtual_cwd.c

1
TSRM/tsrm_virtual_cwd.c

@ -738,6 +738,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
return -1;
}
}
directory = (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY);
if(link_is_dir) {
*link_is_dir = directory;

Loading…
Cancel
Save