Skip to content

rts: Always truncate output files

Ben Gamari requested to merge wip/T16993 into master

Previously there were numerous places in the RTS where we would fopen with the "w" flag string. This is wrong as it will not truncate the file. Consequently if we write less data than the previous length of the file we will leave garbage at its end.

Fixes #16993 (closed).

Merge request reports