This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: boehm-gc: win32 getenv support, Tru64 cleanup
- From: Hans Boehm <Hans dot Boehm at hp dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: Hans Boehm <hans_boehm at hp dot com>,"'java-patches at gcc dot gnu dot org'" <java-patches at gcc dot gnu dot org>,"'Øyvind Harboe'" <oyvind dot harboe at zylin dot com>,"'Hans dot Boehm at hp dot com'" <Hans dot Boehm at hp dot com>
- Date: Tue, 9 Sep 2003 20:48:14 -0700 (PDT)
- Subject: Re: boehm-gc: win32 getenv support, Tru64 cleanup
Thanks.
In that case, I'd be inclined to check in the gc_priv.h part of the
workaround, just in case, but modify configure.in so the regular getenv
is used by default on all platforms, including win32, and the
workaround is off by default. Does that sound right?
Hans
On 9 Sep 2003, Anthony Green wrote:
> On Tue, 2003-09-09 at 14:56, Boehm, Hans wrote:
> > The reason getenv was disabled on win32 is given in
> >
> > http://gcc.gnu.org/ml/java-patches/2002-q1/msg00701.html
> >
> > (Based on some experiments on win32 and a quick look at the C89 standard,
> > the Wine behavior described in that message is clearly wrong.)
> >
> > Does anyone know if the Wine bug that caused all this still exists?
>
> It looks like they've fixed it. I just tried a 20030813 wine snapshot
> with a fresh mingw32 cross compiler and getenv() is now returning NULL
> for unrecognized environment variables.
>
> AG
>
> --
> Anthony Green <green@redhat.com>
> Red Hat, Inc.
>