bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Bug: 14 point one-sided race database withmakebearoff.ex


From: Jim Segrave
Subject: Re: [Bug-gnubg] Bug: 14 point one-sided race database withmakebearoff.exe
Date: Thu, 6 Jan 2005 22:53:18 +0100
User-agent: Mutt/1.4.1i

On Thu 06 Jan 2005 (20:34 +0100), ?ystein Johansen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Jim Segrave wrote:
> | What's the type of an offset in a seek command? Under FreeBSD, it's a
> | long, not an unsigned long and limits the seeks to 2^31-1
> | bytes. makebearoff.c is full of fseek commands, so it's likely to go
> | very very wrong at this point.
> 
> He he! I havn't checked this all the way but it looks like:
> 
> C:\MinGW\include>grep fseek *.h
> [snip some irrelevant hits]
> stdio.h:int __cdecl __mingw_fseek (FILE *, long, int);
> stdio.h:#define fseek(fp, offset, whence)  __mingw_fseek(fp, offset, whence)
> 
> Can that really be true?

Yes, I think when POSIX and similar efforts wete in vogue to
standardise C, disc space was at a premium. and 2G files were
unimaginable. Otherwise, why wasn't time_t made an unsigned long? 

-- 
Jim Segrave           address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]