Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: Backticks In zshenv
- X-seq: zsh-workers 4438
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: Re: Backticks In zshenv
- Date: Thu, 22 Oct 1998 11:41:04 +0200
- In-reply-to: ""Bart Schaefer""'s message of "Tue, 20 Oct 1998 12:54:49 DFT." <981020125449.ZM6543@xxxxxxxxxxxxxxxxxxxxxxx>
"Bart Schaefer" wrote:
> I'm now 99% certain that the SIGWINCH is causing read() to fail with EINTR
> during the fgetc() in readoutput() in exec.c.
>
> I'm unable to adequately test the following patch at the moment, as it's
> inconvenient to muck with the shells on the RH5.1 machine, but it doesn't
> break anything obvious on my RH4.2 machine at home. If anyone has time to
> try this out, please tell the list whether it works.
I wasn't seeing the problems reported, but the patch works in the
following sense: I have a test script
foo=$(sleep 10; id -u)
print "foo=$foo"
which I ran with a background zsh. I sent that a SIGWINCH while the
$(...) was sleeping, and without the patch the final message was
foo=
while with it I got
foo=295
which is correct. This appears to be repeatable.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarotti 2, 56100 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author