From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: sharing a file descriptor with a port Date: Fri, 17 Sep 2010 23:03:13 +0200 Message-ID: <87aang13se.fsf@ambire.localdomain> References: <20100917093046.GA32484@securactive.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1284758072 10110 80.91.229.12 (17 Sep 2010 21:14:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 21:14:32 +0000 (UTC) Cc: guile-user@gnu.org To: Cedric Cellier Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Sep 17 23:14:30 2010 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OwiGL-0001bv-O8 for guile-user@m.gmane.org; Fri, 17 Sep 2010 23:14:29 +0200 Original-Received: from localhost ([127.0.0.1]:52977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owi9C-0007GW-To for guile-user@m.gmane.org; Fri, 17 Sep 2010 17:07:06 -0400 Original-Received: from [140.186.70.92] (port=46322 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owi98-0007GP-0B for guile-user@gnu.org; Fri, 17 Sep 2010 17:07:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owi95-0006My-QY for guile-user@gnu.org; Fri, 17 Sep 2010 17:07:01 -0400 Original-Received: from smtp209.alice.it ([82.57.200.105]:44929) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owi95-0006MQ-Kd for guile-user@gnu.org; Fri, 17 Sep 2010 17:06:59 -0400 Original-Received: from ambire.localdomain (87.13.1.167) by smtp209.alice.it (8.5.124.08) id 4C1A2759059DEFDD; Fri, 17 Sep 2010 23:06:52 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1Owi5S-0002aA-0P; Fri, 17 Sep 2010 23:03:14 +0200 In-Reply-To: <20100917093046.GA32484@securactive.net> (Cedric Cellier's message of "Fri, 17 Sep 2010 11:30:46 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8172 Archived-At: () Cedric Cellier () Fri, 17 Sep 2010 11:30:46 +0200 Any idea someone ? Perhaps you can make a port first; then use =E2=80=98port->fdes=E2=80=99 for file-descriptor based access; then close the port. IOW, start w/ the higher abstraction (port) and let gc DTRT.