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

Re: [Libvir] Don't fail to read a file because it's non-seekable (e.g., a pipe).



"Richard W.M. Jones" <rjones 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.


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