Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: read_poll RE: PATCH: Zpty cleanup (merge 13061 with 13116)



Andrej Borsenkow wrote:

> Unless I completely miss something:
> 
> read_poll tries to read from fd and stores the character it has read in
> readchar; that is cmd->read when called from checkptycmd. But this value does
> not seem to be used anywhere in read loop that looks like read_poll simply
> eats up this readahead char ...

See zpty.c:474 and following lines.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author