osargs functions and 32 bit values
Tony van der Hoff
OSLib at mk-net.demon.co.uk
Wed Aug 2 16:50:08 BST 2000
On Tue, 1 Aug 2000, at 21:53:10, David J. Ruck <druck at freeuk.com> wrote
on the subject "osargs functions and 32 bit values":
>Shouldn't all the OS_Args file pointer and extent calls use unsigned types,
>bits rather than int ?
>
>And before anyone mentions it, FileCore may be limited to 2G max filesize,
>bit FileSwitch allows 4G.
>
Yup, I guess you're right, Dave. What a pity we didn't spot it when we
introduced wide file handles. I hardly dare mention this ;-) but in
order to avoid breaking existing stuff, we appear to be looking at yet
another set of functions along the lines of OSArgs_ReadPtrWU. Hmm...
How serious is the problem? Do any current filing systems allow 32-bit
extents? I think it was yourself who raised the prospect of a complete
rewrite of FileCore in the future. This would undoubtedly change many
interfaces, and maybe an update is best left 'till then.
Anyone else have any thoughts on the matter?
--
Tony van der Hoff | Mailto:tony at mk-net.demon.co.uk
| Mailto:avanderhoff at iee.org
Buckinghamshire, England | http:www.mk-net.demon.co.uk
More information about the oslib-user
mailing list