[Mono-dev] Mono is VS II

Jonathan S. Chambers Jonathan.Chambers at ansys.com
Fri Jun 9 13:54:01 EDT 2006


Here's another patch for building mono in VS. g_unsetenv and g_setenv
are not defined in the VS build. Let me know if the #ifdef's could be
made better/clearer. I think there was also a minor leak in the icall
method; if the user was unsetting an environment variable the method
returned without freeing the utf8_name variable.

Note the whitespace change at the bottom of Environment.cs is removing
spaces from the end of the lines.

I also implemented the User and Machine level options for
Set/GetEnvironmentVariable using the registry on Windows.

Thanks,
Jonathan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: envvar.diff
Type: application/octet-stream
Size: 8790 bytes
Desc: envvar.diff
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060609/c5020938/attachment.obj 


More information about the Mono-devel-list mailing list