summaryrefslogtreecommitdiffstats
path: root/mkspecs/sco-cc
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-05-18 16:40:03 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-05-22 12:33:45 (GMT)
commit27369e563263e82a9c5747da54370eb0a225b3d5 (patch)
tree13a15e470653e77b14dca81b0c090e3e516124a0 /mkspecs/sco-cc
parentf1793cbff8aa9b4adcb5fd511e495f7e96811e2b (diff)
downloadQt-27369e563263e82a9c5747da54370eb0a225b3d5.zip
Qt-27369e563263e82a9c5747da54370eb0a225b3d5.tar.gz
Qt-27369e563263e82a9c5747da54370eb0a225b3d5.tar.bz2
QTemporaryFile: really (re)open file if it has been really closed...
In some circumstances, the file descriptor in QTemporaryFile is actually closed and setOpenMode alone won't give us reOpen semantics. Added function to QTemporaryFileEngine that checks if we have open file handles. On open, if we currently hold no handles, re-open the file. Trying to open a new file while we hold open handles would lead to leaks, so added an assert there, to be on the safe side. Reviewed-by: Thiago
Diffstat (limited to 'mkspecs/sco-cc')
0 files changed, 0 insertions, 0 deletions