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 <amo...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=145c21056abeace6b3f6cafb65c29a7812036852

commit 145c21056abeace6b3f6cafb65c29a7812036852
Author: Alan Modra <amo...@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.

Reply via email to