diff options
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 341ae732f..ffa6d4d3b 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -792,7 +792,7 @@ signal_fixup_after_fork () extern "C" void __stdcall set_sig_errno (int e) { - set_errno (e); + *_my_tls.errno_addr = e; _my_tls.saved_errno = e; // sigproc_printf ("errno %d", e); } |