[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/14475] strip is broken on archive
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug binutils/14475] strip is broken on archive |
Date: |
Wed, 15 Aug 2012 20:01:42 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14475
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2012-08-15 20:01:42
UTC ---
copy_archive has
filename = bfd_get_filename (obfd);
if (!bfd_close (obfd))
{
status = 1;
bfd_nonfatal_message (filename, NULL, NULL, NULL);
return;
}
filename = bfd_get_filename (ibfd);
if (!bfd_close (ibfd))
{
status = 1;
bfd_nonfatal_message (filename, NULL, NULL, NULL);
return;
}
/* Delete all the files that we opened. */
for (l = list; l != NULL; l = l->next)
{
if (l->obfd == NULL)
rmdir (l->name);
else
{
bfd_close (l->obfd);
unlink (l->name);
}
}
Since if (!bfd_close (obfd)) closed all output bfds now,
bfd_close (l->obfd) closes a closed bfd.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug binutils/14475] New: strip is broken on archive, hjl.tools at gmail dot com, 2012/08/15
- [Bug binutils/14475] strip is broken on archive, tromey at redhat dot com, 2012/08/15
- [Bug binutils/14475] strip is broken on archive,
hjl.tools at gmail dot com <=
- [Bug binutils/14475] strip is broken on archive, tromey at redhat dot com, 2012/08/15
- [Bug binutils/14475] strip is broken on archive, tromey at redhat dot com, 2012/08/15
- [Bug binutils/14475] strip is broken on archive, tromey at redhat dot com, 2012/08/15
- [Bug binutils/14475] strip is broken on archive, cvs-commit at gcc dot gnu.org, 2012/08/16
- [Bug binutils/14475] strip is broken on archive, tromey at redhat dot com, 2012/08/16
- [Bug binutils/14475] strip is broken on archive, hjl.tools at gmail dot com, 2012/08/16
- [Bug binutils/14475] strip is broken on archive, cvs-commit at gcc dot gnu.org, 2012/08/16
- [Bug binutils/14475] strip is broken on archive, hjl.tools at gmail dot com, 2012/08/17