From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>,
zsh-workers@sunsite.auc.dk
Subject: Re: 3.0.6-pre-5 problem
Date: Fri, 25 Jun 1999 09:17:02 +0000 [thread overview]
Message-ID: <990625091702.ZM4017@candle.brasslantern.com> (raw)
In-Reply-To: <199906250622.IAA32689@beta.informatik.hu-berlin.de>
On Jun 25, 8:22am, Sven Wischnowsky wrote:
} Subject: Re: 3.0.6-pre-5 problem
}
} And, of course, I have 6819 applied (which fixed a problem with
} suspending shell functions, although that problem didn't cause a
} SEGV).
It looks like the following hunk of 6819 fixes the crash by *not* assigning
a process ID to jn->other; however, the xterm still hangs ... I think zsh
may have sent a STOP signal to the xterm that is its parent.
@@ -959,10 +962,14 @@
close(synch[1]);
read(synch[0], &dummy, 1);
close(synch[0]);
- jobtab[list_pipe_job].other = newjob;
- jobtab[list_pipe_job].stat |= STAT_SUPERJOB;
- jn->stat |= STAT_SUBJOB | STAT_NOPRINT;
- jn->other = pid;
+ /* If this job has finished, we turn this into a
+ * normal (non-super-) job. */
+ if (!(jn->stat & STAT_DONE)) {
+ jobtab[list_pipe_job].other = newjob;
+ jobtab[list_pipe_job].stat |= STAT_SUPERJOB;
+ jn->stat |= STAT_SUBJOB | STAT_NOPRINT;
+ jn->other = pid;
+ }
if (list_pipe || last1)
killpg(jobtab[list_pipe_job].gleader, SIGSTOP);
break;
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
next prev parent reply other threads:[~1999-06-25 9:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-25 6:22 Sven Wischnowsky
1999-06-25 9:03 ` Bart Schaefer
1999-06-25 9:17 ` Bart Schaefer [this message]
1999-06-25 9:23 ` Bart Schaefer
-- strict thread matches above, loose matches on Subject: below --
1999-06-25 12:52 Sven Wischnowsky
1999-06-25 15:56 ` Peter Stephenson
1999-06-25 16:29 ` Bart Schaefer
1999-06-25 17:14 ` Bart Schaefer
1999-06-25 9:38 Sven Wischnowsky
1999-06-25 10:10 ` Bart Schaefer
1999-06-25 9:19 Sven Wischnowsky
1999-06-24 15:05 Jos Backus
1999-06-24 15:26 ` Jos Backus
1999-06-24 18:54 ` Jos Backus
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=990625091702.ZM4017@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.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).