hal/hald/linux2 osspec.c,1.14,1.15
David Zeuthen
david at freedesktop.org
Tue Feb 22 10:46:58 PST 2005
Update of /cvs/hal/hal/hald/linux2
In directory gabe:/tmp/cvs-serv8267/hald/linux2
Modified Files:
osspec.c
Log Message:
2005-02-22 David Zeuthen <davidz at redhat.com>
* hald/hald_dbus.c (device_property_atomic_update_end): Send changes
as an array to ensure that PropertyModified signal always has two
parameters
(device_send_signal_property_modified): -do-
* libhal/libhal.c (filter_func): Fix up to receive PropertyModified
in the new format
Index: osspec.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/osspec.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- osspec.c 22 Feb 2005 16:23:28 -0000 1.14
+++ osspec.c 22 Feb 2005 18:46:56 -0000 1.15
@@ -353,7 +353,9 @@
sigio_iochn_listener_source_id = g_io_add_watch (sigio_iochn, G_IO_IN, sigio_iochn_data, NULL);
signal (SIGIO, sigio_handler);
- /* hook up to netlink socket to receive events from the *Kernel Events Layer* */
+ /* hook up to netlink socket to receive events from the Kernel Events
+ * Layer (available since 2.6.10) - TODO: Don't use the constant 15
+ */
netlink_fd = socket (PF_NETLINK, SOCK_DGRAM, 15/*NETLINK_KOBJECT_UEVENT*/);
if (netlink_fd < 0) {
More information about the hal-commit
mailing list