[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Bug: 14 point one-sided race database withmakebearoff.ex
Re: [Bug-gnubg] Bug: 14 point one-sided race database withmakebearoff.exe
Thu, 6 Jan 2005 22:53:18 +0100
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