Magellan Linux

Annotation of /trunk/hal/patches/hal-0.5.7.1-dbus-close.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82 - (hide annotations) (download)
Fri Oct 20 18:01:50 2006 UTC (17 years, 8 months ago) by niro
File size: 859 byte(s)
patches and files for hal-0.5.7.1-r1

1 niro 82 diff -ruN hal-0.5.7.1.orig/tools/hal-device.c hal-0.5.7.1/tools/hal-device.c
2     --- hal-0.5.7.1.orig/tools/hal-device.c 2006-07-28 16:07:56.000000000 -0500
3     +++ hal-0.5.7.1/tools/hal-device.c 2006-07-28 16:08:36.000000000 -0500
4     @@ -155,7 +155,7 @@
5    
6     libhal_ctx_shutdown(hal_ctx, &error);
7     libhal_ctx_free(hal_ctx);
8     - dbus_connection_disconnect(conn);
9     + dbus_connection_close(conn);
10     dbus_connection_unref(conn);
11     dbus_error_free(&error);
12    
13     diff -ruN hal-0.5.7.1.orig/tools/lshal.c hal-0.5.7.1/tools/lshal.c
14     --- hal-0.5.7.1.orig/tools/lshal.c 2006-07-28 16:07:56.000000000 -0500
15     +++ hal-0.5.7.1/tools/lshal.c 2006-07-28 16:08:52.000000000 -0500
16     @@ -701,7 +701,7 @@
17     libhal_ctx_shutdown (hal_ctx, &error);
18     libhal_ctx_free (hal_ctx);
19    
20     - dbus_connection_disconnect (conn);
21     + dbus_connection_close (conn);
22     dbus_connection_unref (conn);
23    
24     if (show_device)