[Glibc-bsd-commits] r5391 - in trunk/freebsd-glue: debian include/sys

rmh at alioth.debian.org rmh at alioth.debian.org
Sun Jan 26 13:10:36 UTC 2014


Author: rmh
Date: 2014-01-26 13:10:36 +0000 (Sun, 26 Jan 2014)
New Revision: 5391

Modified:
   trunk/freebsd-glue/debian/changelog
   trunk/freebsd-glue/include/sys/param.h
Log:
Add MAXHOSTNAMELEN fallback.

Modified: trunk/freebsd-glue/debian/changelog
===================================================================
--- trunk/freebsd-glue/debian/changelog	2014-01-26 13:07:47 UTC (rev 5390)
+++ trunk/freebsd-glue/debian/changelog	2014-01-26 13:10:36 UTC (rev 5391)
@@ -1,3 +1,9 @@
+freebsd-glue (0.2.19) UNRELEASED; urgency=low
+
+  * Add MAXHOSTNAMELEN fallback.
+
+ -- Robert Millan <rmh at debian.org>  Sun, 26 Jan 2014 14:10:10 +0100
+
 freebsd-glue (0.2.18) experimental; urgency=low
 
   * Add PATH_MAX and MAXPATHLEN fallbacks for systems that lack them.

Modified: trunk/freebsd-glue/include/sys/param.h
===================================================================
--- trunk/freebsd-glue/include/sys/param.h	2014-01-26 13:07:47 UTC (rev 5390)
+++ trunk/freebsd-glue/include/sys/param.h	2014-01-26 13:10:36 UTC (rev 5391)
@@ -65,6 +65,10 @@
 #define MAXPATHLEN PATH_MAX
 #endif
 
+#ifndef MAXHOSTNAMELEN
+#define MAXHOSTNAMELEN 256
 #endif
 
+#endif /* _SYS_PARAM_H_ */
+
 #endif




More information about the Glibc-bsd-commits mailing list