author | kergoth <kergoth> | 2003-03-25 19:43:58 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-03-25 19:43:58 (UTC) |
commit | 75131f3afecb643b945ed349465f697efdf293ad (patch) (unidiff) | |
tree | fb0428474c4de0ac1477d758fae2b9816ded3a24 /qt | |
parent | d3b3e04ed7e4ee191a666202ca90769875a70a5d (diff) | |
download | opie-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.
-rw-r--r-- | qt/qte234-for-opie091-sigsegv.patch | 6 |
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,6 +1,6 @@ | |||
1 | --- ./src/kernel/qwindowsystem_qws.cpp~sigsegv2003-03-18 18:29:00.000000000 -0600 | 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 | 2 | +++ ./src/kernel/qwindowsystem_qws.cpp2003-03-18 19:09:08.000000000 -0600 |
3 | @@ -843,6 +843,16 @@ | 3 | @@ -843,6 +843,18 @@ |
4 | { | 4 | { |
5 | } | 5 | } |
6 | 6 | ||
@@ -11,13 +11,15 @@ | |||
11 | +qwsServer->closeKeyboard(); | 11 | +qwsServer->closeKeyboard(); |
12 | +#endif | 12 | +#endif |
13 | + QWSServer::closedown(); | 13 | + QWSServer::closedown(); |
14 | + fprintf(stderr, "Segmentation fault.\n"); | ||
15 | + exit(1); | ||
14 | +} | 16 | +} |
15 | + | 17 | + |
16 | + | 18 | + |
17 | /*! | 19 | /*! |
18 | \class QWSServer qwindowsystem_qws.h | 20 | \class QWSServer qwindowsystem_qws.h |
19 | \brief Server-specific functionality in Qt/Embedded | 21 | \brief Server-specific functionality in Qt/Embedded |
20 | @@ -912,6 +922,7 @@ | 22 | @@ -912,6 +924,7 @@ |
21 | } | 23 | } |
22 | 24 | ||
23 | signal(SIGPIPE, ignoreSignal); //we get it when we read | 25 | signal(SIGPIPE, ignoreSignal); //we get it when we read |