[BRLTTY] gioAwaitInput sometimes returns 0 despite input being available.

Dave Mielke dave at mielke.cc
Mon Mar 11 00:13:32 EDT 2013


[quoted lines by timothyhobbs at seznam.cz on 2013/03/10 at 20:04 +0100]

>With brltty4.4, sometimes, when there is heavy traffic over the serial line,
>gioAwaitInput will claim that there is no input available.  It then says 
>input is available after more info is received from the device. It seems 
>that some buffer isn't getting flushed properly.  

Close, but not quite right. Certainly adequate to describe the probelm, and 
eelp find it, if we hadn't already done so. The gio input functions do do 
buffering. gioAwaitInput() wasn't checking if data is already in the buffer. 
This was fixed some months ago in the development stream.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: dave at mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.com/


More information about the BRLTTY mailing list