Re: [PATCH v2 08/16] lib: Implement error properly even when not HAVE_ERR_H

2023-02-23 Thread Mark Wielaard
Hi, On Sun, 2022-12-18 at 00:52 +0800, Yonggang Luo via Elfutils-devel wrote: > on win32, there is no err.h See also the discussion around v1 of this patch, I don't believe this is a correct implementation of error. In particular it seems to not print the errno string. https://inbox.sourceware.or

[PATCH v2 08/16] lib: Implement error properly even when not HAVE_ERR_H

2022-12-17 Thread Yonggang Luo via Elfutils-devel
on win32, there is no err.h Signed-off-by: Yonggang Luo --- lib/error.c | 16 +++- lib/system.h | 4 +--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/lib/error.c b/lib/error.c index 5186fc15..d4cbf0ff 100644 --- a/lib/error.c +++ b/lib/error.c @@ -28,12 +28,14 @