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

Mario Lang mlang at delysid.org
Mon Mar 11 06:34:01 EDT 2013


Dave Mielke <dave at mielke.cc> writes:

> [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.

Fixed in r6796.

Yet another reason to get 4.5 out of the door rather soon.

-- 
CYa,
  ⡍⠁⠗⠊⠕


More information about the BRLTTY mailing list