[Mono-bugs] [Bug 82460][Nor] Changed - UnixEnvironment.MachineName throws exceptions for long hostnames

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Aug 19 10:02:00 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by pierre.ostlund at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=82460

--- shadow/82460	2007-08-19 10:00:09.000000000 -0400
+++ shadow/82460.tmp.1379	2007-08-19 10:02:00.000000000 -0400
@@ -77,6 +77,11 @@
 entire hostname...
 
 ------- Additional Comments From pierre.ostlund at gmail.com  2007-08-19 10:00 -------
 Created an attachment (id=19838)
 Managed implementation of MachineName
 
+
+------- Additional Comments From pierre.ostlund at gmail.com  2007-08-19 10:02 -------
+I created a managed version of the MachineName-property by P/Invoking
+uname. Not sure if this is the best (or even the real) way of doing
+it, but it works good for me. Comments?


More information about the mono-bugs mailing list