don't forget to close pci.ids directory
This commit is contained in:
parent
9bcf5b738c
commit
93070680f3
@ -50,7 +50,7 @@ diff -up pciutils-3.0.0/lib/names-parse.c.dird pciutils-3.0.0/lib/names-parse.c
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -249,3 +253,48 @@ pci_set_name_list_path(struct pci_access
|
||||
@@ -249,3 +253,49 @@ pci_set_name_list_path(struct pci_access
|
||||
a->id_file_name = name;
|
||||
a->free_id_name = to_be_freed;
|
||||
}
|
||||
@ -97,6 +97,7 @@ diff -up pciutils-3.0.0/lib/names-parse.c.dird pciutils-3.0.0/lib/names-parse.c
|
||||
+ }
|
||||
+ }
|
||||
+ }while (dp != NULL);
|
||||
+ closedir(pci_ids_dir);
|
||||
+ return 1;
|
||||
+}
|
||||
diff -up pciutils-3.0.0/lib/pci.h.dird pciutils-3.0.0/lib/pci.h
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: pciutils
|
||||
Version: 3.1.7
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Source: ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
|
||||
Source1: multilibconfigh
|
||||
|
||||
@ -134,6 +134,9 @@ install -p lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Thu Mar 17 2011 Michal Hlavinka <mhlavink@redhat.com> - 3.1.7-6
|
||||
- don't forget to close pci.ids directory
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.7-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user