This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]