Kaydet (Commit) 2049ed94 authored tarafından Michael Stahl's avatar Michael Stahl Kaydeden (comit) Andras Timar

cli_ure: climaker should open keyfile read-only

This should fix build failures due to file locking preventing concurrent
access to cli_ure/source/cliuno.snk.

Change-Id: Iefd16ed83a01523b3612844c2f777516dc4e44c6
(cherry picked from commit 01518d3a)
Reviewed-on: https://gerrit.libreoffice.org/19483Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit d0d03f22)
üst c3780d73
......@@ -462,7 +462,8 @@ SAL_IMPLEMENT_MAIN()
::System::String ^ sKeyFile = ustring_to_String(keyfile);
try {
System::IO::FileStream^ fs = gcnew System::IO::FileStream(
sKeyFile, System::IO::FileMode::Open);
sKeyFile, System::IO::FileMode::Open,
System::IO::FileAccess::Read, System::IO::FileShare::Read);
kp = gcnew StrongNameKeyPair(fs);
fs->Close();
}
......
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