diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-04-26 18:01:42 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-04-26 18:01:42 +0000 |
commit | 346cdb434ea2a8a158075e21a283abb5c0ed4998 (patch) | |
tree | ee4bc183c974d93e19f5bc3e8a1ac11a9639c00e /winsup/cygwin/dcrt0.cc | |
parent | e331d3e26e0dc9f6b80ae3ece78661d741822474 (diff) | |
download | cygnal-346cdb434ea2a8a158075e21a283abb5c0ed4998.tar.gz cygnal-346cdb434ea2a8a158075e21a283abb5c0ed4998.tar.bz2 cygnal-346cdb434ea2a8a158075e21a283abb5c0ed4998.zip |
* dcrt0.cc (dll_crt0_0): Set SEM_NOGPFAULTERRORBOX error mode, too,
to accommodate Vista/Longhorn.
* spawn.cc (spawn_guts): Move check for CREATE_SUSPENDED condition
after the call to ch.set() since it depends on it.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index 7b299d3dd..e0fa5b5b1 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -694,7 +694,7 @@ dll_crt0_0 () init_global_security (); initial_env (); - SetErrorMode (SEM_FAILCRITICALERRORS); + SetErrorMode (SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX); /* Initialize signal processing here, early, in the hopes that the creation of a thread early in the process will cause more predictability in memory |