/[smeserver]/rpms/hal/sme7/hal-0.4.2-skip-sysfs-config.patch
ViewVC logotype

Contents of /rpms/hal/sme7/hal-0.4.2-skip-sysfs-config.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Mar 22 16:11:10 2012 UTC (12 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: hal-0_4_2-9_0_el4_sme, hal-0_4_2-8_EL4, hal-0_4_2-9_el4_sme, HEAD
Import

1 --- hal-0.4.2/hald/linux/libsysfs/sysfs_dir.c.dont-read-config
2 +++ hal-0.4.2/hald/linux/libsysfs/sysfs_dir.c
3 @@ -624,6 +624,8 @@ int sysfs_read_dir_attributes(struct sys
4 continue;
5 if (0 == strcmp(dirent->d_name, ".."))
6 continue;
7 + if (0 == strcmp(dirent->d_name, "config"))
8 + continue;
9 memset(file_path, 0, SYSFS_PATH_MAX);
10 safestrcpy(file_path, sysdir->path);
11 safestrcat(file_path, "/");

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed