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 | eeb9429de5fed48806d9c6d4575eeddc2149cd6d (patch) | |
tree | 6b35e7d9362333db157e08d58e8d10787a0b7948 /TSRM | |
parent | 056f0aea307ecd32020e5333d8a2f89222e68b6e (diff) | |
download | php-git-eeb9429de5fed48806d9c6d4575eeddc2149cd6d.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 45e5e5c9ac..1a5afc47af 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; |