]> git.ipfire.org Git - thirdparty/elfutils.git/commit
dwelf_elf_e_machine_string: Clear errno before calling strtol
authorAndreas Schwab <schwab@suse.de>
Thu, 14 Nov 2019 13:54:58 +0000 (14:54 +0100)
committerMark Wielaard <mark@klomp.org>
Thu, 14 Nov 2019 22:18:34 +0000 (23:18 +0100)
commitbe1ed9f108d2001e84437b4162d889bff955be8f
tree2e0be80be7b35f5f0bd041c006089c1d351fdb5b
parent287e502815bf133f64afbf47211b11364a0a322f
dwelf_elf_e_machine_string: Clear errno before calling strtol

Avoid spurious failure if errno is modified by any other library call in
the test.

Signed-off-by: Andreas Schwab <schwab@suse.de>
tests/ChangeLog
tests/dwelf_elf_e_machine_string.c