Unix: update #4640 crash. Also,VMMaker problem.

Steve Swerling sps2000 at mail.com
Wed Jan 23 02:30:35 UTC 2002


John M McIntosh wrote:

> Just this morning I replaced all usages of off_t with squeakFileOffsetType.
> You must define that type in your sqPlatformSpecific.h as what you
> would feed to fseeko or fseek for your platform. 

When I do a man fseek, it says the function looks like this:
 int fseek( FILE *stream, long offset, int whence);

Should I define squeakFileOffsetType to long (offset) or int (whence)?
I'm going long for now, since offset sounds a bit more like
squeakFileOffsetType.



More information about the Squeak-dev mailing list