
28 Apr
2014
28 Apr
'14
4:27 a.m.
On 04/26/2014 03:18 PM, Eric Blake wrote:
From: Natanael Copa <ncopa@alpinelinux.org>
This makes sure that errno is reset before readdir is called, even if the loop does a 'continue'.
This fixes issue with musl libc which sets errno on sscanf. The following 'continue' makes the errno be set before calling readdir.
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Eric Blake <eblake@redhat.com> --- src/nodeinfo.c | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-)
ACK Jan