]> git.ipfire.org Git - thirdparty/openvpn.git/commit
define access mode flag X_OK as 0 on Windows
authorHeiko Hund <heiko.hund@sophos.com>
Sat, 18 Feb 2012 19:44:12 +0000 (20:44 +0100)
committerDavid Sommerseth <davids@redhat.com>
Mon, 20 Feb 2012 09:25:09 +0000 (10:25 +0100)
commit4ebc587eab73e03ef64d344a5707d84e7f8d875a
tree4fc0fd46822c63a388bd77f76007a2e048cb7da4
parent5e1e5495328bb491a186d72544d2e57f49dfdedc
define access mode flag X_OK as 0 on Windows

The _access and _waccess functions in Windows don't know about
X_OK (1). If you pass an uneven mode flag the C runtime's default
invalid parameter handler ends execution of openvpn.

Signed-off-by: Heiko Hund <heiko.hund@sophos.com>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
win/config.h.in