Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mcnc!unccvax!cs00chs From: cs00chs@unccvax.UUCP (charles spell) Newsgroups: comp.databases Subject: CData Keywords: Cheap relational Message-ID: <1581@unccvax.UUCP> Date: 4 Aug 89 01:03:24 GMT Organization: Univ. of NC at Charlotte, Charlotte, NC Lines: 20 I have ported Cdata to UNIX. There was only a problem with the way that RPTRs were referenced. On the Pyramid 9815 there was a bus error whenever a RPTR variable was referenced on a non-word boundary, i.e., RPTR ad; char *a; ad = *((RPTR *) a + bheader[trx].keylength)); would cause a bus error if the right hand side was not a word-aligned pointer. Solution. change all occurances of : =
TO mem_mov(
, &, sizeof(RPTR)) the above expression would be changed to: mem_mov(a + bheader[trx].keylength, &ad, sizeof(RPTR)); The rest of the port was simple. ---XXX