🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.protocols.appletalk
Article #3845

Re: CAP 6.0 under HPUX 7.0

#3845
From: Robert Elz
Date: Wed, 12 Jun 1991 23:08
14 lines
854 bytes
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
Technical Details
Message-ID: <kre.676768123@mundamutti.cs.mu.OZ.AU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!cs.mu.OZ.AU!cs.mu.oz.au!kre
References: <20519@sdcc6.ucsd.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <kre.676768123@mundamutti.cs.mu.OZ.AU>
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