Xref: utzoo comp.unix.xenix.sco:1641 comp.unix.programmer:1020 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!gargoyle!igloo!ddsw1!olsa99!zeusa!hendrik From: hendrik@zeusa.UUCP (Hendrik Vermooten) Newsgroups: comp.unix.xenix.sco,comp.unix.programmer Subject: locking() call in XENIX with c-tree Keywords: c-tree, locking Message-ID: <898@zeusa.UUCP> Date: 6 Feb 91 06:43:24 GMT Organization: ZEUS software, Verwoerdburg Lines: 23 Hi, all My C application uses the c-tree isam handler from Faircom (excellent product) XENIX 2.3.3. I am not used their c-tree server yet. My software has been working perfectly for quite some time under XENIX, and works on SCO UNIX 3.2.x until it attempts to lock a record. The version of c-tree I use still thinks that XENIX can do only exclusive locks and uses the locking() call with LK_LOCK/LK_NBLCK. It does have a compiler directive that you can switch on that uses LK_RLCK/LK_NBRLCK instead. SCO say they have fixed the bug on LK_RLCK/LK_NBRLCK but I haven't tried that yet. What I am looking for is a method that will work on both XENIX and UNIX, but I don't have a SCO UNIX machine handy for testing. Appreciate any help! -- ---------- Opinions expressed here are not necessarily my own ------------ Hendrik Vermooten, ZEUS software TEL +27 12 64-5507, FAX +27 12 64-8382 Bang: ..!uunet!ddsw1!olsa99!zeusa!hendrik or hendrik@zeusa.UUCP