Commit 7e6be89c authored by Committed by Tor Lillqvist
Rewrite the Win32 version to use GetFileAttributes() instead of stat().
2004-12-31 Tor Lillqvist <firstname.lastname@example.org> * glib/gfileutils.c (g_file_test): Rewrite the Win32 version to use GetFileAttributes() instead of stat(). stat() is unreliable for corner cases like '\\server\share' or '.\'. Part of fixing #161797. When testing for executability, in addition to the fixed set of executable file name extensions also check the PATHEXT environment variable.
Showing with 174 additions and 99 deletions