diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2010-11-29 13:55:18 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2010-11-30 11:55:56 (GMT) |
commit | cd3e03f5e70fa6d973949516f50ea05f201aac20 (patch) | |
tree | dcd7028de8ec07ca1df58f3a80ca06ff5147994f /LGPL_EXCEPTION.txt | |
parent | 9120864d7263cd1ed288770314e387de95d14bf3 (diff) | |
download | Qt-cd3e03f5e70fa6d973949516f50ea05f201aac20.zip Qt-cd3e03f5e70fa6d973949516f50ea05f201aac20.tar.gz Qt-cd3e03f5e70fa6d973949516f50ea05f201aac20.tar.bz2 |
Fix buffered/unbuffered mode issues on symbian
Due to a bug in the symbian file server, files in /resource can't be
opened for unbuffered read, only for default mode read. (it doesn't mask
the cache control flags when doing the security check)
So read will always be done in default mode.
Symptom of this was that QML plugin loading failed as the plugin description
in /resource could not be read.
Buffered or unbuffered writes (i.e. whether the cache should be write
through or write behind) are controlled by the QIODevice::Unbuffered
flag, therefore it needs to be passed through to the file engine.
An optimisation for unix and windows to force unbuffered mode in the file
engine is inappropriate (as that is referring to buffering in the standard
library, which is bypassed entirely by using the low level RFile to open
files on symbian)
Reviewed-by: joao
Diffstat (limited to 'LGPL_EXCEPTION.txt')
0 files changed, 0 insertions, 0 deletions