Loading...
--- Libc/Libc-763.13/gen/FreeBSD/gethostname.3.patch
+++ Libc/Libc-594.9.1/gen/FreeBSD/gethostname.3.patch
@@ -1,6 +1,6 @@
---- gethostname.3.orig 2010-04-28 23:38:49.000000000 -0700
-+++ gethostname.3 2010-04-28 23:47:57.000000000 -0700
-@@ -56,7 +56,7 @@ argument
+--- _SB/Libc/gen/FreeBSD/gethostname.3 2004-11-25 11:38:01.000000000 -0800
++++ _SB/Libc/gen/FreeBSD/gethostname.3.edit 2006-06-28 16:55:50.000000000 -0700
+@@ -60,7 +60,7 @@
specifies the size of the
.Fa name
array.
@@ -9,23 +9,3 @@
.Pp
The
.Fn sethostname
-@@ -68,8 +68,8 @@ which has length
- This call is restricted to the super-user and
- is normally used only when the system is bootstrapped.
- .Pp
--Host names are limited to
--.Brq Dv HOST_NAME_MAX
-+Host names are limited in length to
-+.Brq Dv sysconf(_SC_HOST_NAME_MAX)
- characters, not including the trailing null, currently 255.
- .Sh RETURN VALUES
- .Rv -std
-@@ -101,7 +101,7 @@ The
- function conforms to
- .St -p1003.1-2001 .
- Callers should be aware that
--.Brq Dv HOST_NAME_MAX
-+.Brq Dv sysconf(_SC_HOST_NAME_MAX)
- may be variable or infinite, but is guaranteed to be no less than
- .Brq Dv _POSIX_HOST_NAME_MAX .
- On older systems, this limit was defined in the non-standard header