diff options
author | Tor Lillqvist <tml@iki.fi> | 2004-12-31 01:15:15 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2004-12-31 01:15:15 +0000 |
commit | 7e6be89c62d92cd8663e21e4fe7449bbaef4e44f (patch) | |
tree | f0674debe10ff8eba94935bfc664b8f00b54c159 /ChangeLog.pre-2-6 | |
parent | ae9d96865d769a68064d20ccbb6911fbab2af2a1 (diff) |
Rewrite the Win32 version to use GetFileAttributes() instead of stat().
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.
Diffstat (limited to 'ChangeLog.pre-2-6')
-rw-r--r-- | ChangeLog.pre-2-6 | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 7e3b1bd76..1803cd247 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,8 +1,17 @@ +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. + 2004-12-30 Tor Lillqvist <tml@iki.fi> - * glib/gutils.c (g_get_current_dir): Use GetCurrentDirectory() - directly for simpler buffer length management. I don't trust - getcwd() getting it right all the time. + * glib/gutils.c (g_get_current_dir): In the Win32 version, use + GetCurrentDirectory() directly for simpler buffer length + management. I don't trust getcwd() getting it right all the time. 2004-12-30 Matthias Clasen <mclasen@redhat.com> |