diff options
author | Alan Modra <amodra@gmail.com> | 2023-12-26 16:20:34 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-12-27 16:34:39 +1030 |
commit | 145c21056abeace6b3f6cafb65c29a7812036852 (patch) | |
tree | 113d031f9286d19fa933551d3a5785301427e530 /bfd/cpu-mep.c | |
parent | a70dcdebbd5a6822293d893fd40a2129ee621148 (diff) | |
download | gdb-145c21056abeace6b3f6cafb65c29a7812036852.zip gdb-145c21056abeace6b3f6cafb65c29a7812036852.tar.gz gdb-145c21056abeace6b3f6cafb65c29a7812036852.tar.bz2 |
PR31191, objcopy leaves temporary files
Fix the ENOTDIR rmdir too.
PR 31191
* objcopy.c (copy_archive): Localise uses of "l". Remove
const from name_list.name. Unlink output element on bfd_close
error, and NULL list->name to indicate file is removed. Adjust
cleanup to prevent rmdir on non-existent file.
Diffstat (limited to 'bfd/cpu-mep.c')
0 files changed, 0 insertions, 0 deletions