[Mono-bugs] [Bug 325127] UnixEnvironment. MachineName throws exceptions for long hostnames

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Dec 17 18:25:30 EST 2007


User jpryor at novell.com added comment

Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                                         |Added
                 CC|                                                |jpryor at novell.com
             Status|NEW                                             |RESOLVED
         Resolution|                                                |FIXED

--- Comment #3 from Jonathan Pryor <jpryor at novell.com>  2007-12-17 16:25:29 MST ---
Fixed in r91501.

2007-12-17  Jonathan Pryor  <jpryor at novell.com>

        * UnixEnvironment.cs: Update MachineName property accesor to use
          instead of gethostname(2), as gethostname(2) truncates the machine
          to 16 characters, while uname(2) doesn't.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list