From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nic Newsgroups: gmane.lisp.guile.user Subject: closing string output ports? Date: 31 Aug 2003 22:44:36 +0100 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <8765kdy01n.fsf@tapsellferrier.co.uk> References: <87oey534yl.fsf@zagadka.ping.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1062366748 10477 80.91.224.253 (31 Aug 2003 21:52:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Aug 2003 21:52:28 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Aug 31 23:52:26 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19ta7W-000353-00 for ; Sun, 31 Aug 2003 23:52:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19ta6c-0003Ll-Ke for guile-user@m.gmane.org; Sun, 31 Aug 2003 17:51:30 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19ta3v-0002nt-Of for guile-user@gnu.org; Sun, 31 Aug 2003 17:48:43 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19ta3b-0002YD-UN for guile-user@gnu.org; Sun, 31 Aug 2003 17:48:24 -0400 Original-Received: from [217.34.135.17] (helo=tf1.tapsellferrier.co.uk) by monty-python.gnu.org with esmtp (Exim 4.22) id 19ta0R-0000Uh-EI for guile-user@gnu.org; Sun, 31 Aug 2003 17:45:07 -0400 Original-Received: from host217-34-135-22.in-addr.btopenworld.com ([217.34.135.22] helo=roo) by tf1.tapsellferrier.co.uk with esmtp (Exim 3.35 #1 (Debian)) id 19tZzT-0000D3-00 for ; Sun, 31 Aug 2003 22:44:07 +0100 Original-To: guile-user@gnu.org In-Reply-To: <87oey534yl.fsf@zagadka.ping.de> Original-Lines: 25 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:2219 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2219 Using 1.6.4 I've been implementing a soft port that simply wraps a closured port adding chunked transport encoding (an HTTP feature) to the stream. I presumed that my close-port proc would have to call close-port on the real port. But when I test that with a string port I get a segementation fault: (call-with-output-string (lambda (prt) (display "pah!" prt) (close-port prt))) Should my soft port close-port impl call close-port on the underlying port? Is there a bug in guile 1.6.4? If that's not right: what should I do instead? -- Nic Ferrier http://www.tapsellferrier.co.uk _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user