Re: [libvirt] [PATCHv2 2/2] remote: react to failures on wakeupFD

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

 



On 04/15/2010 11:25 AM, Jim Meyering wrote:
>>> This looks fine, but "errno ? errno : 0" is equivalent to just "errno".
>>> Which makes me think you'll want to separate the saferead-fails case
>>> (where errno is nonzero) from the
>>> saferead-returns-non-negative-<=-sizeof-ignore case (in which
>>> case virReportSystemError would print "Success" for errno=0).
>>
>> Is this rewrite more what you had in mind? (No change to patch 1/2).
> 
> Thanks.
> That looks better.  No more "Success" diagnostic upon error.

Thanks for the review; with that approval, I've pushed both patches.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

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]