Skip to content
  • Tor Lillqvist's avatar
    Rewrite the Win32 version to use GetFileAttributes() instead of stat(). · 7e6be89c
    Tor Lillqvist authored
    2004-12-31  Tor Lillqvist  <tml@iki.fi>
    
    	* 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.
    7e6be89c
To find the state of this project's repository at the time of any of these versions, check out the tags.