summaryrefslogtreecommitdiff
path: root/qt/qte234-for-opie091-sigsegv.patch
Unidiff
Diffstat (limited to 'qt/qte234-for-opie091-sigsegv.patch') (more/less context) (ignore whitespace changes)
-rw-r--r--qt/qte234-for-opie091-sigsegv.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/qt/qte234-for-opie091-sigsegv.patch b/qt/qte234-for-opie091-sigsegv.patch
deleted file mode 100644
index 085de91..0000000
--- a/qt/qte234-for-opie091-sigsegv.patch
+++ b/dev/null
@@ -1,29 +0,0 @@
1 --- ./src/kernel/qwindowsystem_qws.cpp~sigsegv2003-03-18 18:29:00.000000000 -0600
2 +++ ./src/kernel/qwindowsystem_qws.cpp2003-03-18 19:09:08.000000000 -0600
3@@ -843,6 +843,18 @@
4 {
5 }
6
7+static void catchSegvSignal( int )
8+{
9+#ifndef QT_NO_QWS_KEYBOARD
10+ if ( qwsServer )
11 +qwsServer->closeKeyboard();
12+#endif
13+ QWSServer::closedown();
14+ fprintf(stderr, "Segmentation fault.\n");
15+ exit(1);
16+}
17+
18+
19 /*!
20 \class QWSServer qwindowsystem_qws.h
21 \brief Server-specific functionality in Qt/Embedded
22@@ -912,6 +924,7 @@
23 }
24
25 signal(SIGPIPE, ignoreSignal); //we get it when we read
26+ signal(SIGSEGV, catchSegvSignal); //recover the keyboard on crash
27 #endif
28 focusw = 0;
29 mouseGrabber = 0;