FreeBSD Bugzilla – Attachment 178664 Details for
Bug 215826
C++ program signal handlers not called
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Minimal testcase
test.cpp (text/x-c++src), 227 bytes, created by
Dominic Fandrey
on 2017-01-09 10:46:29 UTC
(
hide
)
Description:
Minimal testcase
Filename:
MIME Type:
Creator:
Dominic Fandrey
Created:
2017-01-09 10:46:29 UTC
Size:
227 bytes
patch
obsolete
>#include <stdio.h> >#include <signal.h> > >void throws() { > throw 1; >} > >int main() { > try { > throws(); > } catch (int) { > } > printf("Raising signal: SIGINT\n"); > raise(SIGINT); > printf("Returning despite signal!\n"); > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 215826
: 178664 |
178670
|
178720