Re: [PATCH] dwelf_elf_e_machine_string: Clear errno before calling strtol
On Thu, Nov 14, 2019 at 02:54:58PM +0100, Andreas Schwab wrote: > Avoid spurious failure if errno is modified by any other library call in > the test. Looks correct. Pushed to master. Thanks, Mark
[PATCH] 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 --- tests/ChangeLog| 5 + tests/dwelf_elf_e_machine_string.c | 1 + 2 files changed, 6 insertions(+) diff --git a/tests/ChangeLog b/tests/ChangeLog index 97b8