walters@io.UUCP (Tim Walters) (09/29/87)
We just fired up the C cross-reference database system posted by Greg Mcgary and it looks like we'll be using it a lot, mostly because it's *very* fast. Thanks, Greg. We did run into a problem with a segmentation violation when no database exists in the current directory. Here is a context diff of a fix: *** lid.c Mon Sep 28 19:12:58 1987 --- /src/local/gid/lid.c Mon Sep 28 12:12:17 1987 *************** *** 116,125 } argsdone: ! if ((IdDir = getDirToName(idFile))== NULL) { ! filerr("open", idFile); ! exit(1); ! } idFile = spanPath(IdDir, idFile); if ((IdFILE = initID(idFile, &Idh, &IdArgs)) == NULL) { filerr("open", idFile); --- 116,122 ----- } argsdone: ! IdDir = getDirToName(idFile); idFile = spanPath(IdDir, idFile); if ((IdFILE = initID(idFile, &Idh, &IdArgs)) == NULL) { filerr("open", idFile); -- ...!harvard!umb!ileaf!walters Tim Walters, Interleaf ...!sun!sunne!ileaf!walters Ten Canal Park, Cambridge, MA 02141 (617) 577-9813 x5510