[Patch] Make getenv() functional before the environment is initialized

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Apr 21 17:23:00 GMT 2006

On Apr  6 12:35, Pierre A. Humblet wrote:
>        * environ.cc (getearly): New function.
>           (getenv) : Call getearly if needed.

Thanks for the patch and sorry for the loooong delay.  I've applied a
slightly tweaked version of your patch, which uses a function pointer in
getenv, instead of adding a conditional.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

More information about the Cygwin-patches mailing list