FreeBSD Bugzilla – Attachment 111292 Details for
Bug 152524
sysutils/hal: hald runs busy after devd stopped.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 637 bytes, created by
KOIE Hidetaka
on 2010-11-23 09:20:11 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
KOIE Hidetaka
Created:
2010-11-23 09:20:11 UTC
Size:
637 bytes
patch
obsolete
>diff -rpu work/hal-0.5.14/hald/freebsd/hf-devd.c work.koie/hal-0.5.14/hald/freebsd/hf-devd.c >--- work/hal-0.5.14/hald/freebsd/hf-devd.c 2009-08-24 21:42:29.000000000 +0900 >+++ work.koie/hal-0.5.14/hald/freebsd/hf-devd.c 2010-11-23 17:07:55.507475429 +0900 >@@ -412,6 +412,16 @@ hf_devd_event_cb (GIOChannel *source, GI > return FALSE; > } > } >+ else if (status == G_IO_STATUS_EOF) >+ { >+ int fd; >+ >+ HAL_WARNING(("%s was disconnected", HF_DEVD_SOCK_PATH)); >+ fd = g_io_channel_unix_get_fd(source); >+ g_io_channel_shutdown(source, FALSE, NULL); >+ close(fd); >+ return FALSE; >+ } > > return TRUE; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 152524
: 111292