HomeFreeBSD

Fix up convert.c generation

Description

Fix up convert.c generation

  • Use a temporary file for convert.c to reduce likelihood of an interrupted build resulting in bad code being written to convert.c
  • Truncate the file instead of appending to it to ensure that the file being touched will not result in duplicate declarations/definitions from kern_acct.c if/when kern_acct.c changes.

MFC after: 1 week

Details

Provenance
ngieAuthored on
Parents
rS291179: MFC r290911,r290912:
Branches
Unknown
Tags
Unknown