]> jfr.im git - irc/hexchat/hexchat.git/commit
sysinfo: Avoid libpci crash when pci not available
authorPatrick Griffis <redacted>
Sat, 18 Nov 2017 05:14:13 +0000 (00:14 -0500)
committerPatrick Griffis <redacted>
Sat, 18 Nov 2017 05:22:48 +0000 (00:22 -0500)
commit47b653cc7c981cb2a20dc2140c66d90b6f3088d0
tree80695c0875021ca89c7911156454b46aebee8d69
parentc6d9e26e2b35377cba33b0b9e8e30c371bdf68ba
sysinfo: Avoid libpci crash when pci not available

Turns out libpci is an awful library that on any error calls
exit() and has no way of indicating an error otherwise...
plugins/sysinfo/unix/pci.c