]> git.ipfire.org Git - thirdparty/pciutils.git/commit
Names: Fixed a rare bug in loading of pci.ids
authorMartin Mares <mj@ucw.cz>
Sun, 18 Feb 2024 00:37:49 +0000 (01:37 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 18 Feb 2024 00:37:49 +0000 (01:37 +0100)
commit06f9ecf36e529695feea35038e15233dffe37bb7
treef1367713c3b74c0acaa6ef7833506460a5743307
parentd314d0bf6d385ce840c9c0835bf723625b34db0c
Names: Fixed a rare bug in loading of pci.ids

If the pci.ids file was empty, it was never considered loaded,
so the loading function was called repeatedly and it always flushed
the name cache.
lib/names-parse.c
lib/names.c
lib/pci.h