[Top][All Lists]

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

Re: native Win32 guile 1.7.0

From: Kevin Ryde
Subject: Re: native Win32 guile 1.7.0
Date: Mon, 09 Jun 2003 08:03:33 +1000
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)

stefan <address@hidden> writes:
> 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"))


        * posix.c (s_scm_putenv): Free temporary ptr in mingw unset.

Of course the main putenv bit also leaks, but that's another story :-).

Attachment: posix.c.mingw-putenv.diff
Description: Text Data

reply via email to

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