[Libvir] Don't fail to read a file because it's non-seekable (e.g., a pipe).
jim at meyering.net
Tue Apr 8 21:49:30 UTC 2008
"Richard W.M. Jones" <rjones at redhat.com> wrote:
> On Tue, Apr 08, 2008 at 05:12:28PM +0200, Jim Meyering wrote:
>> And if someone does e.g. virsh define DIR_NAME
>> on a system that lets you read directories, they
>> won't be too surprised that the contents of the
>> directory is invalid XML.
>> Here's the updated patch:
> Patch looks good.
> What are these systems that let you read directories?
Plenty. It used to work on Linux, but no longer does.
I've just confirmed that "cat /" succeeds (but prints nothing useful)
on Solaris 10, freebsd 6.1, openbsd 3.9, and netbsd 1.6.
More information about the libvir-list