MAXLOCATORS
int locs[MAXLOCATORS];
for (i = 0; i < MAXLOCATORS; i++)
if (d->numlocators > MAXLOCATORS) {