[Patch] Make getenv() functional before the environment is initialized
Pierre A. Humblet
Mon Apr 24 16:17:00 GMT 2006
----- Original Message -----
From: "Christopher Faylor"
Sent: Friday, April 21, 2006 5:39 PM
Subject: Re: [Patch] Make getenv() functional before the environment is
>I just talked to Corinna about this on IRC and neither of us really
> cares enough about this to merit a long discussion so I've just checked
> in a variation of the cmalloc patch. The only change that I made was to
> define a HEAP_2_STR value so that the HEAP_1_MAX usage is confined to
> cygheap.cc where I'd intended it.
Thanks a lot, Chris & Corinna.
Now that I am trying it, it doesn't work anymore when launched from Cygwin.
I am starting to wonder if the current
*ptr[len] == '='
is equivalent to the former
*(*ptr + s) == '='
when s = len and ptr is a char **
More information about the Cygwin-patches