Re: [PATCH] openvz: Handle getline failures in openvzReadConfigParam properly

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

 



2011/5/31 Eric Blake <eblake@xxxxxxxxxx>:
> On 05/27/2011 04:37 AM, Matthias Bolte wrote:
>> The regression fix in 3aab7f2d6b068f0 altered the error handling.
>> getline returns -1 on failure to read a line (including EOF). The
>> original openvzReadConfigParam function using openvz_readline only
>> treated EOF as not-found. The current getline version treats all
>> getline failures as not-found.
>>
>> This patch fixes this and distinguished EOF from other getline
>> failures.
>> ---
>> Âsrc/openvz/openvz_conf.c | Â Â7 ++++++-
>> Â1 files changed, 6 insertions(+), 1 deletions(-)
>
> ACK.
>

Thanks, pushed.

Matthias

--
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]