summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-03-03 15:38:59 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-03-03 15:38:59 +0000
commit6dde3146fbd6f9296a8b9608d14d5591175b6cef (patch)
tree24184facfe926a07adf59a62969b1039c73c0216
parentc7b9a091a5037a884948329b264f9b44102d28ce (diff)
downloadcygnal-6dde3146fbd6f9296a8b9608d14d5591175b6cef.tar.gz
cygnal-6dde3146fbd6f9296a8b9608d14d5591175b6cef.tar.bz2
cygnal-6dde3146fbd6f9296a8b9608d14d5591175b6cef.zip
* exception.h (exception::exception): Install vectored exception
handler rather than vectored continue handler.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/exception.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 35fd1a894..c7abec5e7 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2014-03-03 Corinna Vinschen <corinna@vinschen.de>
+ * exception.h (exception::exception): Install vectored exception
+ handler rather than vectored continue handler.
+
+2014-03-03 Corinna Vinschen <corinna@vinschen.de>
+
* sec_helper.cc (cygpsid::get_id): Move Samba SID->uid/gid mapping
from get_sids_info here.
(get_sids_info): Vice versa.
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;