Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!cdbhp1!mat From: mat@cdbhp1.UUCP (W Mat Waites) Newsgroups: comp.sys.hp Subject: Problem with rn Message-ID: <29@cdbhp1.UUCP> Date: 2 Apr 91 16:46:06 GMT Reply-To: mat@cdbhp1.UUCP (W Mat Waites) Organization: Emory University Cardiac Data Bank Lines: 34 Help! I've got a problem getting rn running just right on my 9000/835. It works fine without "DBM", but I'd like cross-posted articles to be read only once, but when I turn on dbm, problems arise. In bits.c I get a bus error at the fseek in the following code. I guess the pointer (rhs.dptr) is pointing somewhere weird. Anybody already dealt with this? ... lhs.dptr = ident_buf; /* look up article by id */ lhs.dsize = strlen(lhs.dptr) + 1; rhs = fetch(lhs); /* fetch the record */ if (rhs.dptr == NULL) /* if null, nothing there */ goto wild_goose; fseek (hist_file, *((long *)rhs.dptr), 0); /* this bombs!!!! */ /* datum returned is position in hist file */ fgets (xref_buf, BUFSIZ, hist_file); ... Thanks, Mat -- W Mat Waites mat@cdbhp1.UUCP | Unlike most of you, I am not a nut. {gatech,emory}!cdbhp1!mat | -H. Simpson