From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,98b6fc98d89caeda X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,98b6fc98d89caeda X-Google-Attributes: gidf7344,public X-Google-Thread: f6134,98b6fc98d89caeda X-Google-Attributes: gidf6134,public X-Google-ArrivalTime: 2001-11-28 11:02:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.42.224.136!diablo.netcom.net.uk!netcom.net.uk!dispose.news.demon.net!news.demon.co.uk!demon!jabber.demon.co.uk!not-for-mail From: Andy Burns Newsgroups: comp.os.vms,comp.sys.dec,comp.org.decus Subject: Re: Problem fseeking a 4.2 million block file Date: Wed, 28 Nov 2001 19:01:48 +0000 Message-ID: <02da0u88easj4gtbke1oujcm2vpooarl6t@4ax.com> References: <4983a326.0111281044.688c9ddd@posting.google.com> NNTP-Posting-Host: jabber.demon.co.uk X-NNTP-Posting-Host: jabber.demon.co.uk:158.152.68.44 X-Trace: news.demon.co.uk 1006974108 nnrp-13:27808 NO-IDENT jabber.demon.co.uk:158.152.68.44 X-Complaints-To: abuse@demon.net X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Xref: archiver1.google.com comp.os.vms:53114 comp.sys.dec:9026 comp.org.decus:2325 On 28 Nov 2001 10:44:53 -0800, steve_p@trigent.com (Steve Porter) wrote: >Since fseek expects a signed int for >the offset, will there be a problem if the offset passed in is so >large it 'overwrites' the sign bit? Will this affect subsequent >fseeks, assuming all fseeks start from the beginning of the file? rather than doing absolute seeks from the start of the file, could you try relative seeks for a point already seeked to halfway into the file? or pehaps absolute seeks from the end rather than the start? messy I know ... -- Andy Burns