Index: xorg-server-1.4.1~git20071119/config/hal.c
===================================================================
--- xorg-server-1.4.1~git20071119.orig/config/hal.c	2007-11-30 20:46:17.591574536 +0800
+++ xorg-server-1.4.1~git20071119/config/hal.c	2007-11-30 21:56:51.726078983 +0800
@@ -134,10 +134,11 @@
 
         str = ret;
         for (i = 0; props[i]; i++) {
-            str = strcpy(str, props[i]);
+            strcpy(str, props[i]);
+            str += strlen(props[i]);
             *str++ = ',';
         }
-        *str = '\0';
+        *(str-1) = '\0';
 
         libhal_free_string_array(props);
     }
