Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: zsh hangs (3.0.6-pre-2, 3.1.5-pws-16)
- X-seq: zsh-workers 6261
- From: Tatsuo Furukawa <frkwtto@xxxxxxxxxxxxxxx>
- To: schaefer@xxxxxxxxxxxxxxxx
- Subject: Re: PATCH: Re: zsh hangs (3.0.6-pre-2, 3.1.5-pws-16)
- Date: Tue, 11 May 1999 23:41:22 +0900
- Cc: zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: <990504094850.ZM28177@xxxxxxxxxxxxxxxxxxxxxxx> (schaefer@xxxxxxxxxxxxxxxx)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Hello, Bart,
I applied your patch for fixing zsh hang problem patch issued in 6213.
And I tested. This problem is too difficult to understand for me, but
patched zsh works well. The patched zsh doesn't hang any more!!
(I tested 3.1.5-pws-17 in HP-UX 9.07).
So, I hope that this patch will be incorporated! :-)
Bart> Index: Src/exec.c
Bart> ===================================================================
Bart> RCS file: /extra/cvsroot/zsh/zsh-3.0/Src/exec.c,v
Bart> retrieving revision 1.1.1.5.2.3
Bart> diff -u -r1.1.1.5.2.3 exec.c
Bart> --- exec.c 1999/04/28 05:21:34 1.1.1.5.2.3
Bart> +++ exec.c 1999/05/04 16:34:15
Bart> @@ -2071,7 +2071,7 @@
Bart> zclose(pipes[1]);
Bart> retval = readoutput(pipes[0], qt);
Bart> fdtable[pipes[0]] = 0;
Bart> - child_suspend(0); /* unblocks */
Bart> + waitforpid(pid); /* unblocks */
Bart> lastval = cmdoutval;
Bart> return retval;
Bart> }
--
Tatsuo Furukawa (frkwtto@xxxxxxxxxxxxxxx)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author