On 03/31/2011 08:35 AM, Jon TURNEY wrote: > The second problem is a setup bug: If we get an unexpected short read from the > archive stream decompressor, we'll sit in an infinite loop writing garbage to > the output file 5 bytes at a time. A patch is attached which fixes that, but > since these errors are unreported (see comment in io_stream::copy), we just > stop expanding the archive, leaving an incomplete glxext.h
Would returning -EIO be better, since a negative value is a key that something went wrong besides normal end of file? -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature