Files
git/compat
Erik Faye-Lund 0bc330ff9a mingw: fix st_mode for symlink dirs
When encountering symlinks, do_lstat() currently overwrites
buf->st_mode with S_IFREG if follow is true. This is incorrect
when the symlink points to a directory.

get_file_attr calls GetFileAttributesExA, which follows symlinks
already. So our st_mode should already be correct at this point.

Tested-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
2010-04-28 16:25:00 +02:00
..
2009-04-22 19:03:39 -07:00
2008-09-30 14:30:06 -07:00
2009-03-02 18:28:06 -08:00
2010-04-28 16:25:00 +02:00
2009-09-18 20:00:42 -07:00
2009-09-18 20:00:42 -07:00