[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[Libvir] Re: [PATCH 3/7] Add option to pass stdin fd to virExec
- From: Daniel Veillard <veillard redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: [Libvir] Re: [PATCH 3/7] Add option to pass stdin fd to virExec
- Date: Mon, 13 Aug 2007 09:27:25 -0400
On Mon, Aug 13, 2007 at 12:55:01PM +0100, Daniel P. Berrange wrote:
> On Mon, Aug 13, 2007 at 06:01:42AM -0400, Daniel Veillard wrote:
> > On Sun, Aug 12, 2007 at 07:11:35PM -0400, Jim Paris wrote:
> > > If nonzero, uses the supplied fd instead of /dev/null.
> > > Update callers accordingly.
> >
> > Looks fine to me, we already have stdout and stderr, it's sensible. +1
>
> Looks OK, but shouldn't we use -1 as the magic value here, since 0 is also
> a valid file descriptor.
ohh, right, good catch ! +1 with that change,
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]