Revision: 3777
          http://sourceforge.net/p/elftoolchain/code/3777
Author:   emaste
Date:     2019-07-15 16:12:19 +0000 (Mon, 15 Jul 2019)
Log Message:
-----------
elfcopy: Clear errors after fetching the shstrtab index.

Otherwise a future call to elf_errno() will return a non-zero value.
update_shdr(), for example, treats any errors associated with the ELF
descriptor as fatal.  Clear the error per the first example in
elf_errmsg.3.

Convert to elf_getshdrstrndx() while here since elf_getshstrndx() is
apparently deprecated.

Obtained from FreeBSD r349730 by markj.

Modified Paths:
--------------
    trunk/elfcopy/sections.c

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Elftoolchain-vcs-changes mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/elftoolchain-vcs-changes

Reply via email to