[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.
Cheers,
address@hidden
- Re: native Win32 guile 1.7.0, Kevin Ryde, 2003/06/08
- Re: native Win32 guile 1.7.0, Kevin Ryde, 2003/06/11
- Re: native Win32 guile 1.7.0, Kevin Ryde, 2003/06/11
- Re: native Win32 guile 1.7.0, stefan, 2003/06/14
- Re: native Win32 guile 1.7.0, Marius Vollmer, 2003/06/14
- Re: native Win32 guile 1.7.0, stefan, 2003/06/14
- Re: native Win32 guile 1.7.0, Marius Vollmer, 2003/06/14
- Re: native Win32 guile 1.7.0, stefan, 2003/06/16
- Re: native Win32 guile 1.7.0, Marius Vollmer, 2003/06/18