Mask out X_OK to avoid problem on Vista. X_OK was just ignored by access()
authorTor Lillqvist <tml@novell.com>
Thu, 29 May 2008 23:05:35 +0000 (23:05 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 29 May 2008 23:05:35 +0000 (23:05 +0000)
commit87bc41714fe3fcb66083fe0fe40602f2bf77cb0b
tree273992a54e72df70afc978e486c5c3afdc3e175a
parent40c54c33ebecd9f1eb11b450201376c425f26a8b
Mask out X_OK to avoid problem on Vista. X_OK was just ignored by access()

2008-05-30  Tor Lillqvist  <tml@novell.com>

* glib/gstdio.c (g_access) [Win32]: Mask out X_OK to avoid problem
on Vista. X_OK was just ignored by access() in earlier Microsoft C
libraries. (Which is fine as executability has little meaning on
Windows.) The one on Vista returns an error if X_OK is passed.

svn path=/trunk/; revision=6961
ChangeLog
glib/gstdio.c