From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: stefan Newsgroups: gmane.lisp.guile.devel Subject: Re: native Win32 guile 1.7.0 Date: Thu, 12 Jun 2003 07:01:35 +0200 (CEST) Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <877k7wgrbe.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1055394195 2579 80.91.224.249 (12 Jun 2003 05:03:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 12 Jun 2003 05:03:15 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Jun 12 07:03:14 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 19QKF0-0000fT-00 for ; Thu, 12 Jun 2003 07:03:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19QKGv-0008QZ-1j for guile-devel@m.gmane.org; Thu, 12 Jun 2003 01:05:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19QKGe-0008I9-Ni for guile-devel@gnu.org; Thu, 12 Jun 2003 01:04:56 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19QKGN-0007eJ-Hb for guile-devel@gnu.org; Thu, 12 Jun 2003 01:04:39 -0400 Original-Received: from obh.snafu.de ([213.73.92.34]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19QKGC-0007Us-65 for guile-devel@gnu.org; Thu, 12 Jun 2003 01:04:28 -0400 Original-Received: from p-164-091.zrz.tu-berlin.de ([130.149.164.91] helo=bono) by obh.snafu.de with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.36 #1) id 19QKG7-0009BL-00; Thu, 12 Jun 2003 07:04:24 +0200 Original-Received: from localhost ([127.0.0.1] ident=ela) by bono with esmtp (Exim 3.36 #1) id 19QKDP-00007T-00; Thu, 12 Jun 2003 07:01:35 +0200 X-X-Sender: stefan@bono.reversers.net Original-To: Kevin Ryde In-Reply-To: <877k7wgrbe.fsf@zip.com.au> 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:2528 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2528 On Mon, 9 Jun 2003, Kevin Ryde wrote: > > I just added a check for unsetenv() in the configure script and used it in > > posix.c appropiately for mingw32 hosts. Which means that a > > putenv("name="); would remove the environment variable 'name'. > > I think there's a small memory leak there, viz > > (while #t (putenv "FOO")) > > Perhaps > > * posix.c (s_scm_putenv): Free temporary ptr in mingw unset. > > Of course the main putenv bit also leaks, but that's another story :-). I have applied the patch locally (exept the unused int e;) and will test the proposal you mentioned in the last mail about setting the env string to empty. Cheers, stefan@lkcc.org _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel