System.Environment.MachineName doesn't work on Linux now (always returns "null" string).
The fix is simple: In "mono/metadata/icall.c" in function "ves_icall_System_Environment_get_MachineName" change "if (gethostname (buf, len) != 0)" to " if (gethostname (buf, len) == 0)". (obviously simple a typo). Manual for gethostname() says it returns 0 on success while code seems to test the opposite case. As I don't have CVS access, can you please commit this fix? Jarek _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
