fdo#67534: try to avoid file locking in Explorer shell extensions
Change-Id: I287395f6c25b1bfb9b9482166ae6f34d9af8f455
This commit is contained in:
committed by
Michael Stahl
parent
738ae33f7e
commit
6cea76189f
@@ -106,7 +106,8 @@ long BufferStream::sseek (long offset, int origin)
|
|||||||
FileStream::FileStream(const char *filename) :
|
FileStream::FileStream(const char *filename) :
|
||||||
file(0)
|
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()
|
FileStream::~FileStream()
|
||||||
|
Reference in New Issue
Block a user