From: Borzenkov Andrey <arvidjaar@newmail.ru>
To: <zsh-workers@sunsite.dk>
Subject: Re[2]: SIGTTOU old problem
Date: Mon, 28 Feb 2005 17:29:03 +0300 [thread overview]
Message-ID: <20050228142904.21251.qmail@flock1.newmail.ru> (raw)
In-Reply-To: <873bvgahbc.fsf@ceramic.fifi.org>
Hello Philippe Troin
Пн, 28.02.2005 18:29:43 you wrote:
PT> > - trap "" SIGTTOU > /dev/null 2>&1 || :
PT> > + ( trap "" SIGTTOU > /dev/null 2>&1 ) && trap "" SIGTTOU > /dev/null 2>&1
PT> Why? What does it buy?
PT>
SUS specifies that trap is special builtin so error in "trap" should terminate non-interactive shell. On my system (and as Peter hinted probably everywhere else) trap SIGTTOU is invalid (trap TTOU is valid) so configure exits without any chance to see || :.
To the author of original check - please test if my patch works for you as intended and I commit it. Alternative is to change it into "trap "" TTOU" that is likely to be more portable.
-andrey
__________
www.newmail.ru -- узел свободных коммуникаций.
next prev parent reply other threads:[~2005-02-28 14:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-28 13:41 Borzenkov Andrey
2005-02-28 14:13 ` Peter Stephenson
2005-02-28 14:24 ` Peter Stephenson
2005-02-28 14:29 ` Philippe Troin
2005-02-28 14:29 ` Borzenkov Andrey [this message]
2005-02-28 15:23 ` Re[2]: " Philippe Troin
2005-03-14 7:54 ` Philippe Troin
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=20050228142904.21251.qmail@flock1.newmail.ru \
--to=arvidjaar@newmail.ru \
--cc=zsh-workers@sunsite.dk \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).