Kaydet (Commit) 6cea7618 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Michael Stahl

fdo#67534: try to avoid file locking in Explorer shell extensions

Change-Id: I287395f6c25b1bfb9b9482166ae6f34d9af8f455
üst 738ae33f
......@@ -106,7 +106,8 @@ long BufferStream::sseek (long offset, int origin)
FileStream::FileStream(const char *filename) :
file(0)
{
file = fopen(filename, "rb");
// fdo#67534: avoid locking to not interfere with soffice opening the file
file = _fsopen(filename, "rb", _SH_DENYNO);
}
FileStream::~FileStream()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment