[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/31191] objcopy leaves temporary files (and directories) in
From: |
mooodyhunter at outlook dot com |
Subject: |
[Bug binutils/31191] objcopy leaves temporary files (and directories) in case of error |
Date: |
Mon, 25 Dec 2023 22:09:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31191
--- Comment #1 from Moody Liu <mooodyhunter at outlook dot com> ---
the following patch fixes the issue, but I'm not sure what implication (or
side-effect) it has.
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index b3c8d0f81ac8..c2f1b9421e4c 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -3766,7 +3766,7 @@ copy_archive (bfd *ibfd, bfd *obfd, const char
*output_target,
{
bfd_nonfatal_message (output_name, NULL, NULL, NULL);
/* Error in new object file. Don't change archive. */
- status = 1;
+ del = 1;
}
if (del)
--
You are receiving this mail because:
You are on the CC list for the bug.