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

Re: [virt-tools-list] [PATCH libosinfo] Handle short reads when extracting ISO headers



On Fri, Mar 16, 2012 at 5:01 PM, Daniel P. Berrange <berrange redhat com> wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
>
> You cannot assume that g_input_stream_read_async will return
> as many bytes as you requested. It is perfectly valid to get
> a short read. Code must be prepared to repeat the read operation
> multiple times until all data is read, or EOF/error occurs.

ACK! Sorry for the delay but I thought I already ACK'ed this.

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124


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