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