From: Chris Hanson Date: Thu, 26 Feb 2004 19:03:58 +0000 (+0000) Subject: Fix typo that prevented EOF from being properly detected. X-Git-Tag: 20090517-FFI~1659 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=b1be08d4c92e43b08b0851dfb5532f94b2f17ca6;p=mit-scheme.git Fix typo that prevented EOF from being properly detected. --- 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))))