mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
- be sure that the directory flag is set when we save a path in the cache
This commit is contained in:
parent
056f0aea30
commit
eeb9429de5
@ -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…
Reference in New Issue
Block a user