From: John Levon Subject: Re: [Xen-changelog] [xen-unstable] xenstored: Do not write to stderr if we are daemonised! Date: Wed, 1 Aug 2007 19:03:23 +0100 Message-ID: <20070801180323.GA16021@totally.trollied.org.uk> References: <200708011653.l71GrIcp032245@xenbits.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200708011653.l71GrIcp032245@xenbits.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Aug 01, 2007 at 09:53:17AM -0700, Xen patchbot-unstable wrote: > + > + /* Get ourselves a nice xenstored crash if these are used. */ > + stdin = NULL; > + stdout = NULL; > + stderr = NULL; You cannot assign to std* on Solaris, this becomes: (&__iob[0]) = 0; (&__iob[1]) = 0; (&__iob[2]) = 0; which obviously won't compile. regards, john