MAX_IDB_LINE
buf = xmalloc(MAX_IDB_LINE);
for (line = 1; fgets(buf, MAX_IDB_LINE, fp) != NULL; line++) {