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

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

 



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

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