Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: small missing bit...
- X-seq: zsh-workers 6926
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: small missing bit...
- Date: Tue, 29 Jun 1999 17:25:41 +0200 (MET DST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Oops. The sub-shell should know its process group.
Bye
Sven
diff -u os/exec.c Src/exec.c
--- os/exec.c Tue Jun 29 12:51:15 1999
+++ Src/exec.c Tue Jun 29 17:22:02 1999
@@ -986,7 +986,7 @@
if (jobtab[list_pipe_job].procs)
setpgrp(0L, mypgrp = jobtab[list_pipe_job].gleader);
else
- setpgrp(0L, getpid());
+ setpgrp(0L, mypgrp = getpid());
close(synch[1]);
kill(getpid(), SIGSTOP);
list_pipe = 0;
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author