I admit I also didn't know you were supposed to feed to result
of
elf_next() into elf_begin(). That does make sense though. But it would
be nice if elf_begin() indicated end of archive even when given
ELF_C_READ, especially if there are other implementations doing that.
Yes, I agree that seems reasonable.
Do you have a patch/branch against current master that does that?
Thanks,
Roland