Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Environ handling broken on Cygwin RE: Cygwin: environ problem
- X-seq: zsh-workers 12364
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Peter Stephenson" <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>, "Zsh hackers list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: Environ handling broken on Cygwin RE: Cygwin: environ problem
- Date: Tue, 25 Jul 2000 14:49:35 +0400
- Importance: Normal
- In-reply-to: <0FY7004QY7R77K@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> Let me know if you want sourceforge developer stuff adding.
>
Probably, not. It needs ssh and I am behind a firewall ... and making
ssh to work with SOCKS is too much currently.
BTW could anybody send me a manual page for setenv()? Our system does
not have it and I'd like to know, if Cygwin version corresponds to Unix.
The patch does not look very hard (actually, it is ready) but it showed
memory leak in environment handling in Cygwin. putenv() allocates it's
own memory and nobody ever frees it. We can write configure checks for
that, but there is no way reliably free memory. So, we could currently
use just free() under #ifdef __CYGWIN__.
I got an answer from Cygwin developers that they probably change it in
future version tp more closely match Unix that adds to even more
confusion :-)
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author