From: Olaf Hering <olaf@aepfle.de>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: [PATCH] tools/xc: update tty detection in stdiostream_progress
Date: Wed, 27 Feb 2013 14:37:40 +0100 [thread overview]
Message-ID: <20130227133740.GA1822@aepfle.de> (raw)
In-Reply-To: <20780.62185.634588.412741@mariner.uk.xensource.com>
On Tue, Feb 26, Ian Jackson wrote:
> Olaf Hering writes ("[Xen-devel] [PATCH] tools/xc: update tty detection in stdiostream_progress"):
> > tools/xc: update tty detection in stdiostream_progress
> >
> > As suggested by IanJ:
> > Check isatty only once to preserve the errno of ->progress users, and to
> > reduce the noice in strace output.
> >
> > Signed-off-by: Olaf Hering <olaf@aepfle.de>
>
> Thanks. But how did you test this ? It doesn't compile.
I noticed that compiler error but forgot to do qrefresh before sending.
> Also I think it would be better to name the struct member something
> other than "isatty" since that's also the function name. In theory it
> should be OK but in practice I worry about compiler warnings etc.
>
> How about "tty" ?
Will rename the member to tty and resend.
Olaf
prev parent reply other threads:[~2013-02-27 13:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-22 20:08 [PATCH] tools/xc: update tty detection in stdiostream_progress Olaf Hering
2013-02-26 17:37 ` Ian Jackson
2013-02-27 13:37 ` Olaf Hering [this message]
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=20130227133740.GA1822@aepfle.de \
--to=olaf@aepfle.de \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/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.