]>
Commit | Line | Data |
---|---|---|
9977e12a | 1 | diff -ruN net-snmp-5.3.1./agent/mibgroup/host/hr_swinst.c net-snmp-5.3.1/agent/mibgroup/host/hr_swinst.c |
2 | --- net-snmp-5.3.1./agent/mibgroup/host/hr_swinst.c 2006-03-09 18:31:53.000000000 +0100 | |
3 | +++ net-snmp-5.3.1/agent/mibgroup/host/hr_swinst.c 2006-08-07 23:19:42.356996008 +0200 | |
4 | @@ -205,7 +205,7 @@ | |
5 | /* | |
6 | * XXX distinguish between rpm-2.5.x and rpm-2.9x | |
7 | */ | |
8 | -#ifdef HAVE_RPMGETPATH | |
9 | +#if 1 | |
10 | rpmReadConfigFiles(NULL, NULL); | |
11 | swi->swi_dbpath = rpmGetPath("%{_dbpath}", NULL); | |
12 | #else |