D-Programming-Language/phobos — pull request #513 by CyberShadow (2012-03-31 16:58:04+00:00)
Title: std.file: Use GetFileAttributesEx to query file attributes

FindFirstFile and CreateFile may fail in certain circumstances when GetFileAttributesEx would succeed - for example, if the user doesn't have directory listing permissions on the object's containing directory.