git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-71
2005-08-23 Martin Mares <mj@ucw.cz>
+ * lspci.c: If alloca() is not available, use xmalloc(), not malloc().
+
* lib/configure: Added x86_64 on Linux.
2005-08-22 Martin Mares <mj@ucw.cz>
- update the web page
+- unused parameter warnings
+
PCIIDS:
- another mirror at Atrey?
- delete old DB at SF
- SuSE: synced
- MDK: synced
- Slack: obsolete
+- make path to pci.ids customizable
static struct pci_access *pacc;
/*
- * If we aren't being compiled by GCC, use malloc() instead of alloca().
+ * If we aren't being compiled by GCC, use xmalloc() instead of alloca().
* This increases our memory footprint, but only slightly since we don't
* use alloca() much.
*/
#ifndef __GNUC__
-#define alloca malloc
+#undef alloca
+#define alloca xmalloc
#endif
/* Our view of the PCI bus */