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
This commit is contained in:
@@ -462,7 +462,8 @@ SAL_IMPLEMENT_MAIN()
|
|||||||
::System::String ^ sKeyFile = ustring_to_String(keyfile);
|
::System::String ^ sKeyFile = ustring_to_String(keyfile);
|
||||||
try {
|
try {
|
||||||
System::IO::FileStream^ fs = gcnew System::IO::FileStream(
|
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);
|
kp = gcnew StrongNameKeyPair(fs);
|
||||||
fs->Close();
|
fs->Close();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user