Skip to content

Commit

Permalink
- be sure that the directory flag is set when we save a path in the c…
Browse files Browse the repository at this point in the history
…ache
  • Loading branch information
pierrejoye committed Aug 25, 2009
1 parent 056f0ae commit eeb9429
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TSRM/tsrm_virtual_cwd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eeb9429

Please sign in to comment.