Re: sdirno/sfileno sized

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 22 Mar 2001 21:15:48 +0100

Adrian Chadd wrote:

> COSS stores the disk offset in swap_filen. Henrik changed this a while
> back to be 27 bits in the StoreEntry instead of 32 bits. Obviously
> this breaks when you write *over* 16 meg to a COSS file.

Unless you scale it up to a larger "blocksize"...

> Therefore, in the interests of Adrian's sanity, make the swap_filen
> 32 bits again.

The sizes of sfileno and sdirno should be configurable at build time I
think..

> And whilst we're at it, change sdirno to be a signed char,
> reducing its size to 8 bits.

So you actually increased it from 7 to 8 bits then...

/Henrik
Received on Thu Mar 22 2001 - 13:23:39 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:40 MST