hal/libhal libhal.c,1.29,1.30

David Zeuthen david at freedesktop.org
Mon Sep 27 09:37:49 PDT 2004


Update of /cvs/hal/hal/libhal
In directory gabe:/tmp/cvs-serv30713/libhal

Modified Files:
	libhal.c 
Log Message:
2004-09-27  David Zeuthen  <david at fubar.dk>

	* libhal/libhal.c (hal_shutdown): Remember to init error var

	* tools/fstab-sync.c (add_udi): Add a whitelist so if a volume stems
	from a msdos style partition table we require that type to be in the
	whitelist; initially includes various FAT formats, NTFS and Linux.
	(volume_new): Fix a bug in size computation

	* libhal-storage/libhal-storage.h: Add prototype for
	hal_volume_get_msdos_part_table_type

	* libhal-storage/libhal-storage.c:
	(hal_volume_get_msdos_part_table_type): New function

	* hald/linux/block_class_device.c (block_class_pre_process): 
	Rename x86_type to msdos_part_table_type

	* hald/haldaemon.in: Fixup URL



Index: libhal.c
===================================================================
RCS file: /cvs/hal/hal/libhal/libhal.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- libhal.c	27 Sep 2004 14:58:45 -0000	1.29
+++ libhal.c	27 Sep 2004 16:37:47 -0000	1.30
@@ -692,6 +692,7 @@
 
 	/* unsubscribe the match rule we added in initialize; this is safe even with multiple
 	 * instances of libhal running - see the dbus docs */
+	dbus_error_init (&error);
 	dbus_bus_remove_match (ctx->connection,
 			       "type='signal',"
 			       "interface='org.freedesktop.Hal.Manager',"




More information about the hal-commit mailing list