Al 25/02/11 22:36, En/na Joe Marcus Clarke ha escrit:
> > But that made it worse - now the second insert is not recognized anymore
> > 

   Please replace files/patch-hald_freebsd_hf-devd.c with the following
file I'm attaching. Deinstall, install and try if it works.

   I had the same problem with current and the second part of this patch
solved the problem for me. I thought it only affected current, so I kept
the patch.

   Hope it helps.

   Regards,

   Gus
--- hald/freebsd/hf-devd.c.orig	2011-01-08 12:59:30.000000000 -0500
+++ hald/freebsd/hf-devd.c	2011-01-08 13:04:46.000000000 -0500
@@ -398,7 +398,7 @@ hf_devd_event_cb (GIOChannel *source, GI
       hf_devd_process_event(event);
       g_free(event);
     }
-  else if (status == G_IO_STATUS_AGAIN)
+  else if (status == G_IO_STATUS_AGAIN || status == G_IO_STATUS_EOF)
     {
       hf_devd_init();
       if (hf_devd_inited)
--- hald/freebsd/hf-devd.c.orig	2010-12-07 00:59:37.750764553 +0100
+++ hald/freebsd/hf-devd.c	2010-12-07 00:59:51.316760332 +0100
@@ -122,7 +122,7 @@
   g_return_val_if_fail(parent != NULL, FALSE);
 
   if ((params_ptr = strchr(event, ' '))
-      && (at_ptr = strstr(params_ptr + 1, " at "))
+      && (at_ptr = strstr(params_ptr, "at "))
       && (parent_ptr = strstr(at_ptr + 4, " on ")))
     {
       char *params_str;
_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to