hal ChangeLog,1.740,1.741
David Zeuthen
david at freedesktop.org
Sun Jan 15 07:33:51 PST 2006
Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv20411
Modified Files:
ChangeLog
Log Message:
2006-01-15 David Zeuthen <davidz at redhat.com>
* libhal-storage/libhal-storage.c (libhal_volume_from_udi): Auch,
volume.fsusage may be an empty string and our string extraction
macro then yields NULL. Hence vol->fsusage is never set and just
left as a 0 from the memset meaning _USAGE_MOUNTABLE_FILESYSTEM.
Thus, gnome-vfs thinks the volume is mountable and displays it.
Fix this by initializing vol->fsuage to _USAGE_UNKNOWN.
Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.740
retrieving revision 1.741
diff -u -d -r1.740 -r1.741
--- ChangeLog 13 Jan 2006 17:35:05 -0000 1.740
+++ ChangeLog 15 Jan 2006 15:33:48 -0000 1.741
@@ -1,3 +1,12 @@
+2006-01-15 David Zeuthen <davidz at redhat.com>
+
+ * libhal-storage/libhal-storage.c (libhal_volume_from_udi): Auch,
+ volume.fsusage may be an empty string and our string extraction
+ macro then yields NULL. Hence vol->fsusage is never set and just
+ left as a 0 from the memset meaning _USAGE_MOUNTABLE_FILESYSTEM.
+ Thus, gnome-vfs thinks the volume is mountable and displays it.
+ Fix this by initializing vol->fsuage to _USAGE_UNKNOWN.
+
2006-01-13 Danny Kukawka <danny.kukawka at web.de>
Fixed fd.o bug #5137 with slightly adopted and split off patch
More information about the hal-commit
mailing list