[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: native Win32 guile 1.7.0

From: stefan
Subject: Re: native Win32 guile 1.7.0
Date: Thu, 12 Jun 2003 07:01:35 +0200 (CEST)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]