diff options
| author | Shane Kearns <shane.kearns@accenture.com> | 2010-10-14 13:42:34 (GMT) |
|---|---|---|
| committer | Shane Kearns <shane.kearns@accenture.com> | 2010-10-19 08:35:20 (GMT) |
| commit | a2a748f59a14f71c7f7cd5762ae9d358af2518c3 (patch) | |
| tree | 7b8733684e170c1c0de32074b33fbe388de32a7b /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp | |
| parent | 9ea66f867c1aeb60dc4e90acefb2258a084740ca (diff) | |
| download | Qt-a2a748f59a14f71c7f7cd5762ae9d358af2518c3.zip Qt-a2a748f59a14f71c7f7cd5762ae9d358af2518c3.tar.gz Qt-a2a748f59a14f71c7f7cd5762ae9d358af2518c3.tar.bz2 | |
Fix crashes and hangs in qprocess autotest
The qprocess autotest launches various sub processes and checks their results,
but this lacked error handling.
Added a QVERIFY when opening files (if fopen returned NULL, the test fails
instead of crashing)
Added a 10s guard when waiting for a subprocess to create a file - previously
this loop did not terminate if the subprocess failed.
Reviewed-By: Markus Goetz
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp')
0 files changed, 0 insertions, 0 deletions
