diff --git a/pciutils-dir-d.patch b/pciutils-dir-d.patch index 1885890..2fae8f1 100644 --- a/pciutils-dir-d.patch +++ b/pciutils-dir-d.patch @@ -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 diff --git a/pciutils.spec b/pciutils.spec index 65b046e..5c8c70c 100644 --- a/pciutils.spec +++ b/pciutils.spec @@ -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 - 3.1.7-6 +- don't forget to close pci.ids directory + * Tue Feb 08 2011 Fedora Release Engineering - 3.1.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild