hal/hald pstore.c,1.1,1.2

Joe Shaw joe at pdx.freedesktop.org
Wed Jun 23 12:58:46 PDT 2004


Update of /cvs/hal/hal/hald
In directory pdx:/tmp/cvs-serv6886/hald

Modified Files:
	pstore.c 
Log Message:
2004-06-23  Joe Shaw  <joeshaw at novell.com>

	Patch from Sjoerd Simons <sjoerd at luon.net>

	* hald/pstore.c: #define HOST_NAME_MAX to 256 if it's undefined as
	per the gethostname manpage.

Index: pstore.c
===================================================================
RCS file: /cvs/hal/hal/hald/pstore.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- pstore.c	20 Jun 2004 14:05:12 -0000	1.1
+++ pstore.c	23 Jun 2004 19:58:44 -0000	1.2
@@ -43,6 +43,10 @@
 #define PDOUBLE		"Double:"
 #define UDI_STRIP	"/org/freedesktop/Hal"
 
+#ifndef HOST_NAME_MAX
+#  define HOST_NAME_MAX 256
+#endif
+
 static char *pstore_uuid = NULL;
 
 struct _HalPStore {





More information about the hal-commit mailing list