Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!cs.mu.OZ.AU!cs.mu.oz.au!kre From: kre@cs.mu.oz.au (Robert Elz) Newsgroups: comp.protocols.appletalk Subject: Re: CAP 6.0 under HPUX 7.0 Keywords: cap Message-ID: Date: 12 Jun 91 23:08:43 GMT References: <20519@sdcc6.ucsd.edu> Sender: news@cs.mu.OZ.AU Organization: Comp Sci, University of Melbourne, Australia Lines: 14 heather@sdcc4.ucsd.edu (Heather Ebey) writes: >Can anyone verify that changing the line to the following is >what was intended? >floc = lseek(dt->dt_afd) - ((off_t)sizeof(afr),0L, L_INCR); It would be, except you misinterpreted the parentheses, try floc = lseek(dt->dt_afd, 0L, L_INCR) - ((off_t)sizeof(afr)); (djh: this should be in patch 26, tell() is very very obsolete). kre