diff options
author | Pierre Joye <pajoye@php.net> | 2009-08-25 09:32:31 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2009-08-25 09:32:31 +0000 |
commit | 29b238f8782dc0650ffe7f7769acd75df20b7e67 (patch) | |
tree | ff7e1decbd3dc651478f45d9bbdfcc45e842392a /TSRM | |
parent | 94d83073634759fb9996bf29f253a0dedc67ef19 (diff) | |
download | php-git-29b238f8782dc0650ffe7f7769acd75df20b7e67.tar.gz |
- be sure that the directory flag is set when we save a path in the cache
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_virtual_cwd.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |