aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-mep.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-12-26 16:20:34 +1030
committerAlan Modra <amodra@gmail.com>2023-12-27 16:34:39 +1030
commit145c21056abeace6b3f6cafb65c29a7812036852 (patch)
tree113d031f9286d19fa933551d3a5785301427e530 /bfd/cpu-mep.c
parenta70dcdebbd5a6822293d893fd40a2129ee621148 (diff)
downloadgdb-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