Skip to content

Commit

Permalink
Allow sharing of input tar file for read (dotnet#68361)
Browse files Browse the repository at this point in the history
  • Loading branch information
danmoseley authored Apr 22, 2022
1 parent 14584c6 commit 0d889f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public static void ExtractToDirectory(string sourceFileName, string destinationD
Access = FileAccess.Read,
BufferSize = 0x1000,
Mode = FileMode.Open,
Share = FileShare.None
Share = FileShare.Read
};

using FileStream archive = File.Open(sourceFileName, fileStreamOptions);
Expand Down

0 comments on commit 0d889f5

Please sign in to comment.