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.h...@sophos.com> --- win/config.h.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/win/config.h.in b/win/config.h.in index b5c31b8..fcb8d6c 100644 --- a/win/config.h.in +++ b/win/config.h.in @@ -243,7 +243,7 @@ typedef unsigned long in_addr_t; #endif #ifndef X_OK -#define X_OK 1 +#define X_OK 0 #endif #ifndef F_OK -- 1.7.5.4