Skip to content
Commit 78d7cf92 authored by Andrei Vagin's avatar Andrei Vagin Committed by Pavel Emelyanov
Browse files

namespace: use ferror() to detect errors of fscanf()



Currently we check errno, but musl-libc doesn't zero it,
if fscanf() has returned EOF without errors.

travis-ci: success for A few fixes for Alpine Linux
Signed-off-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 8e93583d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment