public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer-tromey-threaded-dwarf: Update bfd_cache_delete as well
@ 2010-06-08 2:17 tromey
0 siblings, 0 replies; only message in thread
From: tromey @ 2010-06-08 2:17 UTC (permalink / raw)
To: archer-commits
The branch, archer-tromey-threaded-dwarf has been updated
via 636eb11b3238428dcdec3800f9600d6ce4167991 (commit)
from c96a2a771a3864b356a6f39b8f11da6e53bcbacd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 636eb11b3238428dcdec3800f9600d6ce4167991
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jun 7 20:16:38 2010 -0600
Update bfd_cache_delete as well
-----------------------------------------------------------------------
Summary of changes:
bfd/cache.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
First 500 lines of diff:
diff --git a/bfd/cache.c b/bfd/cache.c
index 2156d8b..65ec601 100644
--- a/bfd/cache.c
+++ b/bfd/cache.c
@@ -166,6 +166,7 @@ static bfd_boolean
bfd_cache_delete (bfd *abfd)
{
bfd_boolean ret;
+ struct thread_map_entry *iter;
if (fclose ((FILE *) abfd->iostream) == 0)
ret = TRUE;
@@ -177,6 +178,10 @@ bfd_cache_delete (bfd *abfd)
snip (abfd);
+ for (iter = thread_map; iter; iter = iter->next)
+ if (iter->abfd == abfd)
+ iter->abfd = NULL;
+
abfd->iostream = NULL;
--open_files;
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-08 2:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-08 2:17 [SCM] archer-tromey-threaded-dwarf: Update bfd_cache_delete as well tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).