#| -*-Scheme-*-
-$Id: fileio.scm,v 1.30 2006/10/04 22:38:41 cph Exp $
+$Id: fileio.scm,v 1.31 2006/10/05 05:44:39 savannah-arthur Exp $
Copyright 1991,1993,1994,1995,1996,1999 Massachusetts Institute of Technology
Copyright 2001,2004,2005,2006 Massachusetts Institute of Technology
(port-input-buffer port))))
(error:bad-range-argument port caller))
(if (and (output-port? port)
- (not (output-buffer-using-binary-denormalizer?
- (port-output-buffer port))))
+ (or (not (input-port? port))
+ (not (output-buffer-using-binary-denormalizer?
+ (port-output-buffer port)))))
(error:bad-range-argument port caller)))
\f
(define (open-input-file filename)