[Mono-dev] Re: r58871 - trunk/mono/mono/metadata

Jonathan S. Chambers Jonathan.Chambers at ansys.com
Tue Apr 4 15:21:00 EDT 2006


This causes me trouble building in VS. It doesn't find setenv or
unsetenv. Should I be using something else like SetEnvironmentVariable
on Windows, or do I just have something wrong?

Thanks,
Jonathan

-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Zoltan
Varga
Sent: Tuesday, April 04, 2006 2:48 PM
To: Robert Jordan
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Re: r58871 - trunk/mono/mono/metadata

Yes.

      Zoltan

On 4/4/06, Robert Jordan <robertj at gmx.net> wrote:
> Hey,
>
> May I backport this?
>
> Robert
>
> > Author: miguel
> > Date: 2006-03-31 19:14:16 -0500 (Fri, 31 Mar 2006)
> > New Revision: 58871
> >
> > Modified:
> >    trunk/mono/mono/metadata/ChangeLog
> >    trunk/mono/mono/metadata/icall.c
> > Log:
> > 2006-03-31  Miguel de Icaza  <miguel at novell.com>
> >
> >       * icall.c
> >       (ves_icall_System_Environment_InternalSetEnvironmentVariable):
Fix
> >       build on pre glib 2.4 systems.
> >
> > Modified: trunk/mono/mono/metadata/ChangeLog
> > ===================================================================
> > --- trunk/mono/mono/metadata/ChangeLog        2006-03-31 23:25:18
UTC (rev 58870)
> > +++ trunk/mono/mono/metadata/ChangeLog        2006-04-01 00:14:16
UTC (rev 58871)
> > @@ -1,3 +1,9 @@
> > +2006-03-31  Miguel de Icaza  <miguel at novell.com>
> > +
> > +     * icall.c
> > +     (ves_icall_System_Environment_InternalSetEnvironmentVariable):
Fix
> > +     build on pre glib 2.4 systems.
> > +
> >  2006-03-31  Zoltan Varga  <vargaz at gmail.com>
> >
> >       * icall.c
(ves_icall_System_Environment_InternalSetEnvironmentVariable): New
icall.
> >
> > Modified: trunk/mono/mono/metadata/icall.c
> > ===================================================================
> > --- trunk/mono/mono/metadata/icall.c  2006-03-31 23:25:18 UTC (rev
58870)
> > +++ trunk/mono/mono/metadata/icall.c  2006-04-01 00:14:16 UTC (rev
58871)
> > @@ -5542,6 +5542,14 @@
> >       return names;
> >  }
> >
> > +/*
> > + * If your platform lacks setenv/unsetenv, you must upgrade your
glib.
> > + */
> > +#if !GLIB_CHECK_VERSION(2,4,0)
> > +#define g_setenv(a,b,c)   setenv(a,b,c)
> > +#define g_unsetenv(a,b,c) unsetenv(a,b,c)
> > +#endif
> > +
> >  static void
> >  ves_icall_System_Environment_InternalSetEnvironmentVariable
(MonoString *name, MonoString *value)
> >  {
> >
> > _______________________________________________
> > Mono-patches maillist  -  Mono-patches at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-patches
> >
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list





More information about the Mono-devel-list mailing list