boilr icon indicating copy to clipboard operation
boilr copied to clipboard

Add os.O_TRUNC flag to os.OpenFile to solve trailing junk issue.

Open ax-nathan opened this issue 8 years ago • 1 comments

Without the O_TRUNC flag, if boilr is run more than once, and the resulting output is shorter than the previous run, then the resulting files have leftovers at the end from the previous file contents.

ax-nathan avatar Dec 07 '17 00:12 ax-nathan

Ping @tmrts

philoserf avatar Jan 31 '18 16:01 philoserf