summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatternssdk/ResultThreader.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-06-18 10:15:58 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-06-18 15:20:40 (GMT)
commitbbecd315c0976c1e4ab3133c2e8551526cc9bdef (patch)
tree6676943751546d00ecafb4f19c2f9c514ca4bc98 /tests/auto/xmlpatternssdk/ResultThreader.h
parentd5897ec7bb10440259a6d5424bd2ac2bdd4e1a74 (diff)
downloadQt-bbecd315c0976c1e4ab3133c2e8551526cc9bdef.zip
Qt-bbecd315c0976c1e4ab3133c2e8551526cc9bdef.tar.gz
Qt-bbecd315c0976c1e4ab3133c2e8551526cc9bdef.tar.bz2
Fix tst_qfile opening of stdin/out/err: don't assume
The standard streams can be redirected to a file, so don't assume anything, but try to get the actual size and position from the OS and from the C library (stdout is usually buffered, so the result of lseek might be different from ftell). (cherry-picked from qtbase commit ba7f664a7fbb5612126e5144e58240ab05968259) Change-Id: Ice4a0aa21726671928f56a13cc07cc0e4b52091d Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'tests/auto/xmlpatternssdk/ResultThreader.h')
0 files changed, 0 insertions, 0 deletions