[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
Thu Aug 16 17:13:17 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 jonpryor at vt.edu.

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

--- shadow/82460	2007-08-16 17:12:10.000000000 -0400
+++ shadow/82460.tmp.29059	2007-08-16 17:13:17.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 82460
 Product: Mono: Class Libraries
 Version: 1.2
-OS: 
+OS: unknown
 OS Details: Ubuntu 7.04 (Feisty Fawn)
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Mono.POSIX
 AssignedTo: miguel at ximian.com                            
 ReportedBy: pierre.ostlund at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -63,6 +63,15 @@
 (including SVN). I am using mono version 1.2.3.1 as included with Ubuntu 7.04.
 
 ------- Additional Comments From jonpryor at vt.edu  2007-08-16 17:12 -------
 Created an attachment (id=19822)
 ghn.c
 
+
+------- Additional Comments From jonpryor at vt.edu  2007-08-16 17:13 -------
+ghn.c is the C version of what UnixEnvironment.MachineName is doing.
+
+It works.  But...
+
+It only returns the first 16 characters of the hostname, *not* the
+entire hostname.  I'll have to look around to see how to return the
+entire hostname...


More information about the mono-bugs mailing list