MAX_ID_PRIORITY
struct idlist prio[MAX_ID_PRIORITY + 1], sorted;
for (p = 0; p <= MAX_ID_PRIORITY; p++)
if (p < 0 || p > MAX_ID_PRIORITY)