Commit 838ebbe
committed
Add truncate behavior to marker file creation
This commit ensures that .truncate(true) is set when creating marker files to clarify
that existing files should be overwritten. This is unlikely to happen with the temp
directory file format containing the PID and TID, but if it were to happen, it's better
to be safe than sorry. This also fixes the clippy::suspicious_open_options warning.1 parent 587375b commit 838ebbe
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
0 commit comments