|
From: | Helmut Eller |
Subject: | [Bug-kawa] [bug #22665] Format closes OutputStream |
Date: | Tue, 18 Mar 2008 22:17:35 +0000 |
User-agent: | Opera/9.21 (X11; Linux i686; U; en) |
URL: <http://savannah.gnu.org/bugs/?22665> Summary: Format closes OutputStream Project: Kawa Submitted by: ellerh Submitted on: Tuesday 03/18/2008 at 22:17 Category: Scheme library Severity: 3 - Normal Item Group: Unexpected result Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: The following code: (let* ((sw (<java.io.StringWriter>)) (pw (<java.io.PrintWriter> sw))) (format pw "foo") (format pw "bar") (pw:flush) (sw:flush) (sw:toString)) returns "foo". It should probably be "foobar" or raise an error. The problem seems to that Format.format$V closes port_arg. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?22665> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |