Skip to content

Commit 7293d5f

Browse files
authored
mono_enable_jit_dump read access (#82520)
1 parent d271427 commit 7293d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mono/mono/mini/mini-runtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2082,7 +2082,7 @@ mono_enable_jit_dump (void)
20822082

20832083
g_snprintf (name, sizeof (name), "/tmp/jit-%d.dump", perf_dump_pid);
20842084
unlink (name);
2085-
perf_dump_file = fopen (name, "w");
2085+
perf_dump_file = fopen (name, "w+");
20862086

20872087
add_file_header_info (&header);
20882088
if (perf_dump_file) {

0 commit comments

Comments
 (0)