This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]