From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Fix get-bytevector-all read redundant eof Date: Fri, 15 Mar 2013 16:39:32 +0800 Organization: HFG Message-ID: <1363336772.3025.26.camel@Renee-desktop.suse> References: <1363253404.3025.12.camel@Renee-desktop.suse> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1363336788 23203 80.91.229.3 (15 Mar 2013 08:39:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Mar 2013 08:39:48 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Mar 15 09:40:11 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UGQBN-0001Ac-JJ for guile-devel@m.gmane.org; Fri, 15 Mar 2013 09:40:09 +0100 Original-Received: from localhost ([::1]:33550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGQB1-00051P-1M for guile-devel@m.gmane.org; Fri, 15 Mar 2013 04:39:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGQAt-00051D-S0 for guile-devel@gnu.org; Fri, 15 Mar 2013 04:39:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGQAr-0006d3-G6 for guile-devel@gnu.org; Fri, 15 Mar 2013 04:39:39 -0400 Original-Received: from mail-pb0-f49.google.com ([209.85.160.49]:36199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGQAr-0006aW-6j for guile-devel@gnu.org; Fri, 15 Mar 2013 04:39:37 -0400 Original-Received: by mail-pb0-f49.google.com with SMTP id xa12so3476976pbc.22 for ; Fri, 15 Mar 2013 01:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:subject:from:to:date:in-reply-to:references :organization:content-type:x-mailer:mime-version :content-transfer-encoding; bh=YVgK0IV97kz1uoWB5e+ZOQ5ZUe2rSp4IE0yzdg6w73I=; b=mw/EYzjIXfw+Qtz86okTbNyCEMS9qN60QSs9mISWfw/CuGOaZktMNoDjds18pZQJXy xy6Hfji5sLtZSj4RQoIVsthMR8iWDpesGDbQnfeMpFSdGbRXDQKOMdAJ+4cGowRzcynz nqIwkTuPLpPNOwgB9gDvxbaHIGpQY2B2jkc45fh2kCjq7UPVtmo4m8fkBX5KCmtSIfQV IC0ztGmUyfVQ7a0T1199u5qeuQBhFnDjwo/zeqV2hXCOgAMyD0yIf37NV2WDPq3N8yqD PHD+08m/2yrAaA7bpEAK1h/1rL9vOXxfoQ2Fvt7Y015AAigAAb+J0WWem449gMhCLZtx mdMQ== X-Received: by 10.68.217.202 with SMTP id pa10mr14056871pbc.11.1363336775895; Fri, 15 Mar 2013 01:39:35 -0700 (PDT) Original-Received: from [147.2.147.112] ([61.14.130.226]) by mx.google.com with ESMTPS id iv3sm7631212pbc.40.2013.03.15.01.39.34 (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 15 Mar 2013 01:39:35 -0700 (PDT) In-Reply-To: <1363253404.3025.12.camel@Renee-desktop.suse> X-Mailer: Evolution 3.4.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.49 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15912 Archived-At: On Thu, 2013-03-14 at 17:30 +0800, Nala Ginrut wrote: > Attached the patch to fix get-bytevector-all. > You may check it like this: > (get-bytevector-all (current-input-port)) > > And try to input then type ctrl+d, the current implementation needs you > type ctrl+d twice. > > Regards. Sorry, but I realized that this patch only fixed when you type ctrl+d in the beginning. But if you input something, the problem is still there. I'll look deeper.