Skip to content

Commit

Permalink
mono_enable_jit_dump read access (#87427)
Browse files Browse the repository at this point in the history
Co-authored-by: Sanjam Panda <sanjam.panda@ibm.com>
  • Loading branch information
github-actions[bot] and saitama951 authored Jun 14, 2023
1 parent 8196212 commit 9514ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/mono/mini/mini-runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -2107,7 +2107,7 @@ mono_enable_jit_dump (void)

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

add_file_header_info (&header);
if (perf_dump_file) {
Expand Down

0 comments on commit 9514ed2

Please sign in to comment.