Thomas Schwinge, le Sun 18 Jan 2015 17:34:00 +0100, a écrit :
> (Can you now reproduce the issue?)

Yes.

> Any comments on that already?  (I don't feel like
> committing such a change without understanding it.)
> 
> --- term/ptyio.c
> +++ term/ptyio.c
> @@ -331,7 +331,7 @@ pty_io_read (struct trivfs_protid *cred,
>       }
>      }
>  
> -  if (!(termflags & TTY_OPEN) && !qsize (outputq))
> +  if (!(termflags & TTY_OPEN) && packet_mode)
>      {
>        pthread_mutex_unlock (&global_lock);
>        return EIO;

I don't see why it should be done in packet mode only. The qsize check,
on the other hand, makes sense to me, we should keep it.

Samuel


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150118193829.gj2...@type.youpi.perso.aquilenet.fr

Reply via email to