diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-12-01 23:30:53 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-12-01 23:30:53 -0600 |
commit | 6955a7ebe3c3a0ae2af416fc57ca1f3e9af0ecc3 (patch) | |
tree | 76f40d456bda2b31029c7fb0354cc22102f435d6 /src/kernel/qeventloop_unix_glib.cpp | |
parent | 4c50ba8f9e58dc81abaf1407cc8b203c28288370 (diff) | |
download | tqt3-6955a7ebe3c3a0ae2af416fc57ca1f3e9af0ecc3.tar.gz tqt3-6955a7ebe3c3a0ae2af416fc57ca1f3e9af0ecc3.zip |
Automated update from Qt3
Diffstat (limited to 'src/kernel/qeventloop_unix_glib.cpp')
-rw-r--r-- | src/kernel/qeventloop_unix_glib.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/qeventloop_unix_glib.cpp b/src/kernel/qeventloop_unix_glib.cpp index dc973277e..cdf9f03cb 100644 --- a/src/kernel/qeventloop_unix_glib.cpp +++ b/src/kernel/qeventloop_unix_glib.cpp @@ -505,7 +505,9 @@ void TQEventLoop::wakeUp() size_t nbytes = 0; char c = 0; if ( ::ioctl( d->thread_pipe[0], FIONREAD, (char*)&nbytes ) >= 0 && nbytes == 0 ) { - ::write( d->thread_pipe[1], &c, 1 ); + if (::write( d->thread_pipe[1], &c, 1 ) < 0) { + // Failed! + } } } |