From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1843 invoked from network); 8 Nov 2000 14:10:03 -0000 Received: from sunsite.dk (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 8 Nov 2000 14:10:03 -0000 Received: (qmail 287 invoked by alias); 8 Nov 2000 14:09:57 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13138 Received: (qmail 280 invoked from network); 8 Nov 2000 14:09:56 -0000 Date: Wed, 8 Nov 2000 15:09:53 +0100 (MET) Message-Id: <200011081409.PAA22201@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Andrej Borsenkow"'s message of Wed, 8 Nov 2000 17:03:11 +0300 Subject: 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@informatik.hu-berlin.de