[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fix latent bug in process.c
From: |
Andreas Schwab |
Subject: |
Re: fix latent bug in process.c |
Date: |
Wed, 15 Aug 2012 17:01:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Tom Tromey <address@hidden> writes:
> * process.c (wait_reading_process_output): Check Writeok bits,
> not write_mask.
>
> diff --git a/src/process.c b/src/process.c
> index 0be624a..18775c5 100644
> --- a/src/process.c
> +++ b/src/process.c
> @@ -4792,7 +4792,7 @@ wait_reading_process_output (intmax_t time_limit, int
> nsecs, int read_kbd,
> && d->func != 0
> && (d->condition & FOR_READ) != 0)
> d->func (channel, d->data, 1);
> - if (FD_ISSET (channel, &write_mask)
> + if (FD_ISSET (channel, &Writeok)
Yes, that looks like a real bug.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."