3.15 compat

This commit is contained in:
Michael Davidsaver
2017-09-21 17:02:30 -05:00
parent 21d705ff36
commit b958ac665f
+8
View File
@@ -167,6 +167,13 @@ struct PDBProcessor
{
const char *json = rec.info("Q:group");
if(!json) continue;
#ifndef USE_MULTILOCK
static bool warned;
if(!warned) {
warned = true;
fprintf(stderr, "%s: ignoring info(Q:Group, ...\n", rec.name());
}
#else
if(PDBProviderDebug>2) {
fprintf(stderr, "%s: info(Q:Group, ...\n", rec.name());
}
@@ -267,6 +274,7 @@ struct PDBProcessor
fprintf(stderr, "%s: Error parsing info(\"Q:group\", ... : %s\n",
rec.record()->name, e.what());
}
#endif // USE_MULTILOCK
}
// re-sort GroupInfo::members to ensure the shorter names appear first