[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r1101 - trunk/glibc-2.3-head/sysdeps/kfreebsd



Author: aurel32
Date: 2006-01-25 12:49:41 +0000 (Wed, 25 Jan 2006)
New Revision: 1101

Modified:
   trunk/glibc-2.3-head/sysdeps/kfreebsd/uname.c
Log:
Revert patch r1091

Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/uname.c
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/uname.c	2006-01-23 16:18:58 UTC (rev 1100)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/uname.c	2006-01-25 12:49:41 UTC (rev 1101)
@@ -21,7 +21,6 @@
 #include <sys/sysctl.h>
 #include <errno.h>
 #include <string.h>
-#include <unistd.h>	/* For getdomainname() */
 
 #define SYSNAME                "GNU/kFreeBSD"
 #define SYSNAME_LEN    13
@@ -95,13 +94,6 @@
         name->machine[len] = '\0';
     }
 
-  /* Fill domainname.  Use getdomainname(). */
-  if (getdomainname(name->domainname, sizeof(name->domainname)) == -1)
-    {
-      if (errno != EINVAL)
-        strncpy (name->domainname, UNAME_DOMAINNAME, sizeof (name->domainname));
-    }
-  
   return 0;
 }
 libc_hidden_def (__uname)



Reply to: