This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: AR archive iteration broken?
- From: Roland McGrath <roland at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 05 Nov 2009 15:55:03 -0800
- Subject: Re: AR archive iteration broken?
> I was under the impression that is what my patch does. It marks the
> archive header as unusable (ar_name = NULL) in elf_next (), so
> elf_begin() will see that ar_name == NULL and that
> __libelf_next_arhdr_wrlock() fails, so it will return NULL, from
> dup_elf(), to indicate end of archive when given C_READ.
Ok, that sounds fine. Go ahead and push it, without gratuitous braces,
and with ChangeLog entry.
Thanks,
Roland