Re: [PATCHv2 2/7] nodeinfo: use virDirRead API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

ACK

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]