diff options
author | Lars Persson | 2007-06-08 20:09:36 +0000 |
---|---|---|
committer | Lars Persson | 2007-06-08 20:09:36 +0000 |
commit | d0d4c4da34e142ea05e3b8984392630f3cf03a69 (patch) | |
tree | 9ce5d81b4e5a5453f347adc118c78765edd2dd1e /backends/platform/symbian/src/SymbianOS.cpp | |
parent | 688fb71bfa13669953785292bf3e1e36dadbd8df (diff) | |
download | scummvm-rg350-d0d4c4da34e142ea05e3b8984392630f3cf03a69.tar.gz scummvm-rg350-d0d4c4da34e142ea05e3b8984392630f3cf03a69.tar.bz2 scummvm-rg350-d0d4c4da34e142ea05e3b8984392630f3cf03a69.zip |
Added read file sharing by default. Required for Gob2.
svn-id: r27213
Diffstat (limited to 'backends/platform/symbian/src/SymbianOS.cpp')
-rw-r--r-- | backends/platform/symbian/src/SymbianOS.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/symbian/src/SymbianOS.cpp b/backends/platform/symbian/src/SymbianOS.cpp index d5c869ac91..4901480bf9 100644 --- a/backends/platform/symbian/src/SymbianOS.cpp +++ b/backends/platform/symbian/src/SymbianOS.cpp @@ -453,7 +453,9 @@ FILE* symbian_fopen(const char* name, const char* mode) { if ((modeLen > 1 && mode[1] == '+') || (modeLen > 2 && mode[2] == '+')) { fileMode = fileMode| EFileWrite; } - + + fileMode = fileMode| EFileShareReadersOnly; + switch(mode[0]) { case 'a': if (fileEntry->iFileHandle.Open(CEikonEnv::Static()->FsSession(), tempFileName, fileMode) != KErrNone) { |