From 52703a2c47a02bb7ec75cc194218a3a95d932654 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Thu, 2 Feb 2017 09:52:12 -0700 Subject: [PATCH] Close-binary-input-port did not close its input buffer. --- src/runtime/binary-port.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/binary-port.scm b/src/runtime/binary-port.scm index 252a67568..3c500708f 100644 --- a/src/runtime/binary-port.scm +++ b/src/runtime/binary-port.scm @@ -196,6 +196,7 @@ USA. (define (close-binary-input-port port) (let ((ib (port-input-buffer port))) + (close-input-buffer ib) (let ((ic (buffer-channel ib))) (if (and ic (let ((ob (port-output-buffer port))) -- 2.25.1