From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: documentation.scm close files Date: Mon, 19 May 2003 08:54:19 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <878yt3yig4.fsf@zip.com.au> References: <87smrqxt3b.fsf@zip.com.au> <878yt55od2.fsf@zagadka.ping.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053298431 5063 80.91.224.249 (18 May 2003 22:53:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 18 May 2003 22:53:51 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon May 19 00:53:49 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19HX2L-0001JX-00 for ; Mon, 19 May 2003 00:53:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19HX3R-0003jL-01 for guile-devel@m.gmane.org; Sun, 18 May 2003 18:54:57 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19HX39-0003jD-00 for guile-devel@gnu.org; Sun, 18 May 2003 18:54:39 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19HX35-0003iv-00 for guile-devel@gnu.org; Sun, 18 May 2003 18:54:38 -0400 Original-Received: from snoopy.pacific.net.au ([61.8.0.36]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19HX35-0003gv-00 for guile-devel@gnu.org; Sun, 18 May 2003 18:54:35 -0400 Original-Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) h4IMsWxh002306 for ; Mon, 19 May 2003 08:54:32 +1000 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h4IMsWQg007174 for ; Mon, 19 May 2003 08:54:32 +1000 (EST) Original-Received: from localhost (ppp34.dyn228.pacific.net.au [203.143.228.34]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h4IMsUYZ029064 for ; Mon, 19 May 2003 08:54:31 +1000 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19HX2p-0000Sk-00; Mon, 19 May 2003 08:54:19 +1000 Original-To: guile-devel@gnu.org Mail-Copies-To: never In-Reply-To: <878yt55od2.fsf@zagadka.ping.de> (Marius Vollmer's message of "17 May 2003 22:07:05 +0200") User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2403 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2403 Marius Vollmer writes: > > Maybe we should even make the GC emit warnings when > it sweeps open ports. Closing a port can raise errors and they can't > really be handled from within the GC. I suppose if a program has forgotten about a port it's not really interested in errors from it any more :-). Might have been a read error that made it bail out in the first place. I'm thinking to add some words to the manual to say why it's good to close explicitly, and the consequences of not doing so. Perhaps in the "File Ports" node, with cross references from fdes, pipe and socket stuff. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel