elfcopy(1): when rewriting a file in-place, first try to
create a temporary file in the same directory as the source, falling back to ${TMPDIR:-/tmp} if the source file's directory is not writeable.
Patches by: Dimitry Andric, crees Ticket: #597
Authored by: jkoshy 2021-02-19
Parent: [r3918]
Child: [r3920]