Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!umb!ileaf!io!walters From: walters@io.UUCP (Tim Walters) Newsgroups: comp.sources.bugs Subject: Re: v11i078: C cross-reference database system Message-ID: <392@io.UUCP> Date: Mon, 28-Sep-87 21:10:46 EDT Article-I.D.: io.392 Posted: Mon Sep 28 21:10:46 1987 Date-Received: Wed, 30-Sep-87 07:27:53 EDT References: <1917@uunet.UU.NET> Reply-To: walters@wally.UUCP (Tim Walters) Organization: Interleaf, Cambridge, MA Lines: 35 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