From 6dde3146fbd6f9296a8b9608d14d5591175b6cef Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 3 Mar 2014 15:38:59 +0000 Subject: [PATCH] * exception.h (exception::exception): Install vectored exception handler rather than vectored continue handler. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/exception.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 35fd1a894..c7abec5e7 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2014-03-03 Corinna Vinschen + + * exception.h (exception::exception): Install vectored exception + handler rather than vectored continue handler. + 2014-03-03 Corinna Vinschen * sec_helper.cc (cygpsid::get_id): Move Samba SID->uid/gid mapping diff --git a/winsup/cygwin/exception.h b/winsup/cygwin/exception.h index 80569e8d5..95d8311fc 100644 --- a/winsup/cygwin/exception.h +++ b/winsup/cygwin/exception.h @@ -128,7 +128,7 @@ public: kicks in. For some reason the vectored continue handler doesn't get called if no unhandled exception filter is installed. */ SetUnhandledExceptionFilter (handle); - AddVectoredContinueHandler (1, handle); + AddVectoredExceptionHandler (1, handle); } #else save = _except_list;