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

This commit is contained in:
Pierre Joye 2009-08-25 09:32:31 +00:00
parent 056f0aea30
commit eeb9429de5

View File

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