[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Does this code (in wait_reading_process_input) work?
From: |
Kim F. Storm |
Subject: |
Does this code (in wait_reading_process_input) work? |
Date: |
18 Feb 2002 23:06:50 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 |
Does the following code in wait_reading_process_input really work
as intended (ie. wait for output from a specific process) ?
/* Don't wait for output from a non-running process. */
if (wait_proc != 0 && !NILP (wait_proc->raw_status_low))
update_status (wait_proc);
if (wait_proc != 0
&& ! EQ (wait_proc->status, Qrun))
{
int nread, total_nread = 0;
...
As I read the code, it only enters the the conditional block if the
process state *differs* from 'run - i.e. when it is non-running.
That's the opposite of what the comment above the test says.
So what's up?
++kfs
- Does this code (in wait_reading_process_input) work?,
Kim F. Storm <=