From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: signal mask bug?
Date: Thu, 16 Feb 2017 09:48:36 +0000 [thread overview]
Message-ID: <20170216094836.7db14518@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <170215201044.ZM15764@torch.brasslantern.com>
On Wed, 15 Feb 2017 20:10:44 -0800
Bart Schaefer <schaefer@brasslantern.com> wrote:
> But then when we reach prinjob() from the "jobs" command, pn->status of
> that job has changed from -1 to 65535.
>
> This happens at signals.c:525 in wait_for_processes(), when the status
> returned from wait3(&status) [line 457] is assigned to it.
Or somewhere or other it's going through a cast to unsigned short, but
that doesn't seem all that likely in the signal code, particularly POSIX
style on a 32- or 64-bit architecture.
If it's Solaris *and* Linux it seems unlikely the status itself is
doing anything funny, though, and that's passed back as int *...
pws
next prev parent reply other threads:[~2017-02-16 9:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-15 22:17 Danek Duvall
2017-02-16 4:10 ` Bart Schaefer
2017-02-16 9:48 ` Peter Stephenson [this message]
2017-02-16 20:18 ` Danek Duvall
2017-02-23 21:39 ` Bart Schaefer
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=20170216094836.7db14518@pwslap01u.europe.root.pri \
--to=p.stephenson@samsung.com \
--cc=zsh-workers@zsh.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.
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).