--- lib/ftsym.c.old Tue Apr 29 08:18:27 2003 +++ lib/ftsym.c Tue Apr 29 08:19:43 2003 @@ -49,7 +49,7 @@ * * allocate and initialize new symbol table structure * - * FILENAME - filename to load ASCII table + * fname - filename to load ASCII table * * returns allocated structure or 0L for error. * @@ -63,6 +63,10 @@ int fd, ret; u_int32 hash; + /* no filename? */ + if (!fname) + return (struct ftsym*)0L; + fd = -1; ret = -1;