hal/hald/linux pci_bus_device.c,1.9,1.9.2.1
David Zeuthen
david at freedesktop.org
Thu Jan 20 09:03:56 PST 2005
Update of /cvs/hal/hal/hald/linux
In directory gabe:/tmp/cvs-serv20422/hald/linux
Modified Files:
Tag: hal-0_4-stable-branch
pci_bus_device.c
Log Message:
2005-01-20 David Zeuthen <davidz at redhat.com>
* NEWS: Update for 0.4.6
* configure.in: Bump to 0.4.6
2005-01-20 David Zeuthen <davidz at redhat.com>
* hald/linux/libsysfs/sysfs_dir.c (sysfs_close_attribute): Add
stopgap fix to not free unallocated memory. This is a *workaround*
to not make hald crash on some PPC hardware. Reported by Joseph
E. Sacco, Ph.D. <joseph_sacco at comcast.net> who helped test this.
* fdi/90defaultpolicy/storage-policy.fdi: Add mount option
iocharset=utf8 for vfat volumes
2005-01-20 David Zeuthen <davidz at redhat.com>
* hald/linux/libsysfs: Update libsysfs to upstream version 1.2.0
Index: pci_bus_device.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/Attic/pci_bus_device.c,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -u -d -r1.9 -r1.9.2.1
--- pci_bus_device.c 14 Oct 2004 19:21:41 -0000 1.9
+++ pci_bus_device.c 20 Jan 2005 17:03:54 -0000 1.9.2.1
@@ -410,7 +410,7 @@
dlist_for_each_data (sysfs_get_device_attributes (device), cur,
struct sysfs_attribute) {
- if (cur == NULL || cur->path == NULL || cur->value == NULL)
+ if (cur == NULL || cur->path == NULL || cur->value == NULL || strlen (cur->value) == 0)
continue;
if (sysfs_get_name_from_path (cur->path,
More information about the hal-commit
mailing list