hal/hald/linux/libsysfs sysfs_dir.c,1.3.2.1,1.3.2.2
David Zeuthen
david at freedesktop.org
Tue May 17 07:34:39 PDT 2005
Update of /cvs/hal/hal/hald/linux/libsysfs
In directory gabe:/tmp/cvs-serv1072/hald/linux/libsysfs
Modified Files:
Tag: hal-0_4-stable-branch
sysfs_dir.c
Log Message:
2005-05-17 David Zeuthen <davidz at redhat.com>
* hald/linux/libsysfs/sysfs_dir.c:
(sysfs_read_dir_attributes): Don't ever read sysfs attribute of
the name "config" since reading the "config" file for PCI may
cause SCSI errors on a sym53c8xx card. Fix suggested by Matthias
Andree <ma at dt.e-technik.uni-dortmund.de>. See also fd.o #1852
Index: sysfs_dir.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/libsysfs/Attic/sysfs_dir.c,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -u -d -r1.3.2.1 -r1.3.2.2
--- sysfs_dir.c 20 Jan 2005 17:03:54 -0000 1.3.2.1
+++ sysfs_dir.c 17 May 2005 14:34:37 -0000 1.3.2.2
@@ -624,6 +624,8 @@
continue;
if (0 == strcmp(dirent->d_name, ".."))
continue;
+ if (0 == strcmp(dirent->d_name, "config"))
+ continue;
memset(file_path, 0, SYSFS_PATH_MAX);
safestrcpy(file_path, sysdir->path);
safestrcat(file_path, "/");
More information about the hal-commit
mailing list