Loading...
gen/FreeBSD/gethostname.c.patch Libc-763.13 Libc-498.1.5
--- Libc/Libc-763.13/gen/FreeBSD/gethostname.c.patch
+++ Libc/Libc-498.1.5/gen/FreeBSD/gethostname.c.patch
@@ -1,17 +1,14 @@
---- gethostname.c.orig	2009-11-07 15:38:57.000000000 -0800
-+++ gethostname.c	2009-11-07 15:44:48.000000000 -0800
-@@ -33,8 +33,10 @@ static char sccsid[] = "@(#)gethostname.
- #include <sys/cdefs.h>
- __FBSDID("$FreeBSD: src/lib/libc/gen/gethostname.c,v 1.8 2007/01/09 00:27:54 imp Exp $");
+--- gethostname.c.orig	2004-11-25 11:38:01.000000000 -0800
++++ gethostname.c	2005-09-15 09:46:13.000000000 -0700
+@@ -39,6 +39,7 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/get
  
-+#include <string.h>
  #include <sys/param.h>
  #include <sys/sysctl.h>
 +#include <limits.h>
  
  #include <errno.h>
- #include <unistd.h>
-@@ -48,10 +50,22 @@ gethostname(name, namelen)
+ 
+@@ -54,10 +55,22 @@ gethostname(name, namelen)
  
  	mib[0] = CTL_KERN;
  	mib[1] = KERN_HOSTNAME;