summaryrefslogtreecommitdiff
path: root/qt
authorkergoth <kergoth>2003-03-25 19:43:58 (UTC)
committer kergoth <kergoth>2003-03-25 19:43:58 (UTC)
commit75131f3afecb643b945ed349465f697efdf293ad (patch) (side-by-side diff)
treefb0428474c4de0ac1477d758fae2b9816ded3a24 /qt
parentd3b3e04ed7e4ee191a666202ca90769875a70a5d (diff)
downloadopie-75131f3afecb643b945ed349465f697efdf293ad.zip
opie-75131f3afecb643b945ed349465f697efdf293ad.tar.gz
opie-75131f3afecb643b945ed349465f697efdf293ad.tar.bz2
Correction to the sigsegv handler, & print a segmentation fault message. and increment default qt revision.
Diffstat (limited to 'qt') (more/less context) (ignore whitespace changes)
-rw-r--r--qt/qte234-for-opie091-sigsegv.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/qt/qte234-for-opie091-sigsegv.patch b/qt/qte234-for-opie091-sigsegv.patch
index 9111b42..085de91 100644
--- a/qt/qte234-for-opie091-sigsegv.patch
+++ b/qt/qte234-for-opie091-sigsegv.patch
@@ -1,26 +1,28 @@
--- ./src/kernel/qwindowsystem_qws.cpp~sigsegv 2003-03-18 18:29:00.000000000 -0600
+++ ./src/kernel/qwindowsystem_qws.cpp 2003-03-18 19:09:08.000000000 -0600
-@@ -843,6 +843,16 @@
+@@ -843,6 +843,18 @@
{
}
+static void catchSegvSignal( int )
+{
+#ifndef QT_NO_QWS_KEYBOARD
+ if ( qwsServer )
+ qwsServer->closeKeyboard();
+#endif
+ QWSServer::closedown();
++ fprintf(stderr, "Segmentation fault.\n");
++ exit(1);
+}
+
+
/*!
\class QWSServer qwindowsystem_qws.h
\brief Server-specific functionality in Qt/Embedded
-@@ -912,6 +922,7 @@
+@@ -912,6 +924,7 @@
}
signal(SIGPIPE, ignoreSignal); //we get it when we read
+ signal(SIGSEGV, catchSegvSignal); //recover the keyboard on crash
#endif
focusw = 0;