>>>>> "Peter" == Peter Van Eynde <[EMAIL PROTECTED]> writes:
Peter> On Thu, Oct 17, 2002 at 11:52:40AM -0400, Martin Cracauer wrote:
>>
>> he code is screwup up in its handlign of errno.
>>
>> (unix:unix-open "/tmp/l" 0 0)
>> NIL
>> 27
>>
>> errno 27 is "File too big". As long as we don't seek it should't
>> really matter whether we are in 64 or 32 bit mode, but it does.
Peter> The direct syscall code uses the 32 bit open, as I thought that without a
Peter> 64 bit type implementing seeks was going to be painful.
Peter> I think we now have a 64 bit type (even in the FFI?) so maybe we should
Peter> change this.
I think there is support for 64-bit ints in the FFI, but there are no
native 64-bit ints[1]. The 64-bit int will be a bignum. Perhaps
that's acceptable for those people who need to this.
Ray
Footnotes:
[1] Certainly true for x86. Sparc-v9 has a partially working
implementation.