From b1be08d4c92e43b08b0851dfb5532f94b2f17ca6 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 26 Feb 2004 19:03:58 +0000 Subject: [PATCH] Fix typo that prevented EOF from being properly detected. --- v7/src/runtime/genio.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/runtime/genio.scm b/v7/src/runtime/genio.scm index cb10f2416..033e203ac 100644 --- a/v7/src/runtime/genio.scm +++ b/v7/src/runtime/genio.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: genio.scm,v 1.29 2004/02/25 20:59:29 cph Exp $ +$Id: genio.scm,v 1.30 2004/02/26 19:03:58 cph Exp $ Copyright 1991,1993,1995,1996,1999,2002 Massachusetts Institute of Technology Copyright 2003,2004 Massachusetts Institute of Technology @@ -584,7 +584,7 @@ USA. (input-buffer-bytes ib) available (fix:+ available page-size)))) - (if (and n (fix:> n 0)) + (if n (begin (set-input-buffer-start! ib 0) (set-input-buffer-end! ib (fix:+ available n)))) -- 2.25.1