From 29b238f8782dc0650ffe7f7769acd75df20b7e67 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Tue, 25 Aug 2009 09:32:31 +0000 Subject: [PATCH] - be sure that the directory flag is set when we save a path in the cache --- TSRM/tsrm_virtual_cwd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index f40ebead0b..45d5cdf8a8 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/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; -- 2.40.0