[libvirt] [PATCH] Remove _PATH_DEVNULL usage

Daniel P. Berrange berrange at redhat.com
Mon Dec 15 21:37:57 UTC 2008


On Mon, Dec 15, 2008 at 11:57:52AM -0800, john.levon at sun.com wrote:
> # HG changeset patch
> # User john.levon at sun.com
> # Date 1229367890 28800
> # Node ID c324c231c6a50be9f970f0f6c6d1629a7c09ab3b
> # Parent  63174fd9f33749cb68431fd5d1ff6133ba48863b
> Remove _PATH_DEVNULL usage
> 
> _PATH_DEVNULL provides no apparent advantage, and isn't available on
> Solaris: replace with the string literal.

ACK, I just happened to use _PATH_DEVNULL because I saw it was
available & didn't check its portability.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list