From 9624b6e37c0594d3d09adbc036cb0ab57d662c75 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Thu, 31 Jul 2008 23:11:36 +0200 Subject: [PATCH] Avoid GetErrorMode - it requires later windows versions than SetErrorMode. Rev: src/main.c:1.235 --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 37c2d2451f..97251c9943 100644 --- a/src/main.c +++ b/src/main.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: main.c,v 1.234 2008/07/31 18:13:17 mast Exp $ +|| $Id: main.c,v 1.235 2008/07/31 21:11:36 mast Exp $ */ #include "global.h" @@ -559,7 +559,7 @@ int main(int argc, char **argv) /* Maybe set this too? Don't know exactly when it * has effect. /mast */ /*SEM_NOOPENFILEERRORBOX | */ - GetErrorMode()); + SetErrorMode (0)); } #endif -- GitLab