• Ben Gamari's avatar
    rts: Always truncate output files · 4664bafc
    Ben Gamari authored
    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.
Profiling.c 27.7 KB