* UnixEnvironment.cs: Update MachineName property accesor to use uname(2)
[mono.git] / mcs / class / Mono.Posix / Mono.Unix / ChangeLog
index e97db304695da4b938d42ed38872a88582ef2b59..26e89dd6e7b3f1353215d951fe727f54a8c7cf92 100644 (file)
@@ -1,3 +1,9 @@
+2007-12-17  Jonathan Pryor  <jpryor@novell.com>
+
+       * UnixEnvironment.cs: Update MachineName property accesor to use uname(2)
+         instead of gethostname(2), as gethostname(2) truncates the machine name to
+         16 characters, while uname(2) doesn't.
+
 2007-12-17  Jonathan Pryor  <jonpryor@vt.edu>
 
        * UnixDirectoryInfo.cs: Fix Parent property so that it properly handles