Skip to content

Commit fcac483

Browse files
committed
readwrite
1 parent c1c3539 commit fcac483

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Compiler/AbstractIL/ilwrite.fs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3725,8 +3725,7 @@ let writePdb (
37253725

37263726
// Now we've done the bulk of the binary, do the PDB file and fixup the binary.
37273727
match pdbfile with
3728-
| None ->
3729-
signImage ()
3728+
| None -> signImage ()
37303729

37313730
| Some pdbfile ->
37323731
let idd =
@@ -4528,7 +4527,7 @@ let writeBinaryFiles (options: options, modul, normalizeAssemblyRefs) =
45284527
reraise()
45294528

45304529
let reopenOutput () =
4531-
FileSystem.OpenFileForWriteShim(options.outfile, FileMode.Open, FileAccess.Write, FileShare.Read)
4530+
FileSystem.OpenFileForWriteShim(options.outfile, FileMode.Open, FileAccess.ReadWrite, FileShare.Read)
45324531

45334532
writePdb (options.dumpDebugInfo,
45344533
options.showTimes,

0 commit comments

Comments
 (0)