1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +02:00

Corlib additions

This commit is contained in:
Brian Fiete 2019-11-22 12:26:51 -08:00
parent b756fe50eb
commit 788351e178
4 changed files with 251 additions and 9 deletions

View file

@ -165,7 +165,7 @@ namespace Beefy
// Retry for a while if the other side is still writing out the file
for (int i = 0; i < 100; i++)
{
if (sr.Open(fileName) case .Err(let fileOpenErr))
if (sr.Open(fileName, .Read, .Read) case .Err(let fileOpenErr))
{
bool retry = false;
if (autoRetry)