Hello,

    These are good to go in.

On Thu, 2008-12-18 at 16:04 -0500, Bill Holmes wrote:
> HI,
> 
> The attached patch fixes two problems we found System.Environment.
> 
> Calling Environment.GetEnvironmentVariable ("IsNotSet",
> EnvironmentVariableTarget.User) causes a nre with mono on Windows.
> 
> Calling Environment.SetEnvironmentVariable (...,
> EnvironmentVariableTarget.User) does not notify the OS that a variable
> has changed.
> See http://msdn.microsoft.com/en-us/library/ms682653(VS.85).aspx
> 
> Thanks
> -bill
> 
> 2008-12-18  Bill Holmes  <billholme...@gmail.com>
> 
>       * Environment.cs (GetEnvironmentVariable) :  Avoiding an nre if
>         the variable is not set.
> 
>       * Environment.cs (SetEnvironmentVariable) : Adding a call to
>         internalBroadcastSettingChange to notify Windows that an environment
>         variable has changed.
> 
>       * icall-def.h : Adding an internal call definition for
>         System.Environment.internalBroadcastSettingChange.
> 
>       * icall.c : Adding a Windows only implementation to broadcast a
>         WM_SETTINGCHANGE when an environment variable has changed.
> 
>       Contributed under MIT/X11 license.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to