All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xensource.com>
To: John Levon <levon@movementarian.org>, xen-devel@lists.xensource.com
Subject: Re: Re: [Xen-changelog] [xen-unstable] xenstored: Do not write to stderr if we are daemonised!
Date: Wed, 01 Aug 2007 19:12:22 +0100	[thread overview]
Message-ID: <C2D68B96.136A1%keir@xensource.com> (raw)
In-Reply-To: <20070801180323.GA16021@totally.trollied.org.uk>

On 1/8/07 19:03, "John Levon" <levon@movementarian.org> 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

  reply	other threads:[~2007-08-01 18:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200708011653.l71GrIcp032245@xenbits.xensource.com>
2007-08-01 18:03 ` [Xen-changelog] [xen-unstable] xenstored: Do not write to stderr if we are daemonised! John Levon
2007-08-01 18:12   ` Keir Fraser [this message]
2007-08-01 18:22     ` John Levon
2007-08-01 22:36     ` Alan Cox
2007-08-01 18:20   ` Daniel P. Berrange
2007-08-01 18:32     ` Keir Fraser
2007-08-01 18:35       ` John Levon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C2D68B96.136A1%keir@xensource.com \
    --to=keir@xensource.com \
    --cc=levon@movementarian.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.