On 04/26/2014 03:18 PM, Eric Blake wrote:
From: Natanael Copa <ncopa(a)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(a)alpinelinux.org>
Signed-off-by: Eric Blake <eblake(a)redhat.com>
---
src/nodeinfo.c | 31 +++++++++----------------------
1 file changed, 9 insertions(+), 22 deletions(-)
ACK
Jan