From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: readlink, getcwd memory leaks Date: Sun, 25 Apr 2004 01:42:15 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87pt9xc59k.fsf@zagadka.ping.de> References: <877jx8hejj.fsf@zip.com.au> <87r7uddnnk.fsf@zagadka.ping.de> <87wu45gfbm.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082850385 17946 80.91.224.253 (24 Apr 2004 23:46:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Apr 2004 23:46:25 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Apr 25 01:46:17 2004 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 1BHWqf-0007LW-00 for ; Sun, 25 Apr 2004 01:46:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BHWoc-0005LE-Ue for guile-devel@m.gmane.org; Sat, 24 Apr 2004 19:44:10 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BHWno-0005A4-S0 for guile-devel@gnu.org; Sat, 24 Apr 2004 19:43:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BHWmo-0003dx-G6 for guile-devel@gnu.org; Sat, 24 Apr 2004 19:42:50 -0400 Original-Received: from [195.253.8.218] (helo=mail.dokom.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BHWmn-0003bf-H4 for guile-devel@gnu.org; Sat, 24 Apr 2004 19:42:17 -0400 Original-Received: from dialin.net17.dip113.dokom.de ([195.253.17.113] helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 3.36 #3) id 1BHWpA-0007Xj-00 for guile-devel@gnu.org; Sun, 25 Apr 2004 01:44:44 +0200 Original-Received: (qmail 1053 invoked by uid 1000); 24 Apr 2004 23:42:15 -0000 Original-To: guile-devel@gnu.org In-Reply-To: <87wu45gfbm.fsf@zip.com.au> (Kevin Ryde's message of "Sun, 25 Apr 2004 08:51:25 +1000") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3646 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3646 Kevin Ryde writes: > Marius Vollmer writes: >> >> (There still will be a memory leak when scm_mem2string throws, but that >> is very unlikely...) > > I was thinking about that after Dirk changed scm_gethostbyname. Looks > like a lot of potential places like that, and no fun to try to tighten > them up :-(. Yes. Maybe we should just disallow out-of-memory throws. There is no real point for them: Guile likely can't continue anyway. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel