HomeFreeBSD

elftoolchain: stop leaving tempfiles on error

Description

elftoolchain: stop leaving tempfiles on error

Temporary files were not cleaned up, resulting in $TMPDIR or even
the current directory becoming littered with ecp.* files.

This happened with error and even sometimes on success!

Approved by: dim
MFC after: 4 weeks
Accepted upstream: https://sourceforge.net/p/elftoolchain/code/3918/
Differential Revision: https://reviews.freebsd.org/D28651

Details

Provenance
creesAuthored on Feb 15 2021, 11:37 AM
Differential Revision
D28651: elfcopy: stop leaving temporary files on error
Parents
rG37cd6c20dbcf: cron: consume blanks in system crontabs before options
Branches
Unknown
Tags
Unknown