|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug binutils/31191] objcopy leaves temporary files (and directories) in case of error |
Date: | Wed, 27 Dec 2023 06:06:45 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31191 --- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amodra@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=145c21056abeace6b3f6cafb65c29a7812036852 commit 145c21056abeace6b3f6cafb65c29a7812036852 Author: Alan Modra <amodra@gmail.com> Date: Tue Dec 26 16:20:34 2023 +1030 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. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |