This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Re: [Xen-changelog] [xen-unstable] xenstored: Do not wri

To: John Levon <levon@xxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-changelog] [xen-unstable] xenstored: Do not write to stderr if we are daemonised!
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Wed, 01 Aug 2007 19:12:22 +0100
Delivery-date: Wed, 01 Aug 2007 11:10:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070801180323.GA16021@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfUZ4FWv//U8kBaEdyIPAAX8io7RQ==
Thread-topic: [Xen-devel] Re: [Xen-changelog] [xen-unstable] xenstored: Do not write to stderr if we are daemonised!
User-agent: Microsoft-Entourage/
On 1/8/07 19:03, "John Levon" <levon@xxxxxxxxxxxxxxxxx> 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.

Okay, I'll fix this by redirecting xprintf() to trace() and get rid of the
NULL assignments.

 -- Keir

Xen-devel mailing list