Branch: Tag:

2008-07-31

2008-07-31 21:11:36 by Martin Stjernholm <mast@lysator.liu.se>

Avoid GetErrorMode - it requires later windows versions than SetErrorMode.

Rev: src/main.c:1.235

2:   || 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: Inside #if defined(HAVE_SETERRORMODE)
   /* Maybe set this too? Don't know exactly when it    * has effect. /mast */    /*SEM_NOOPENFILEERRORBOX | */ -  GetErrorMode()); +  SetErrorMode (0));    }   #endif