DIRNAMESIZE
INSIST(strlen(dirname) < DIRNAMESIZE);
char buf[DIRNAMESIZE]; /* XXX Should be max path length */
char srcdir[DIRNAMESIZE]; /* XXX Should be max path length */
DIRNAMESIZE - 2 * TYPECLASSLEN -
char dirname[DIRNAMESIZE]; /* XXX Should be max path length */