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.  

The direct syscall code uses the 32 bit open, as I thought that without a
64 bit type implementing seeks was going to be painful. 

I think we now have a 64 bit type (even in the FFI?) so maybe we should
change this.

> Use FreeBSD :)
> 
> In addition to Linux having started with3 2 bit files in first place,
> it is a bitch to debug because glibc does an incomprehensible
> macro-mapping of the actual "open" symbol (which we don't follow,

One of the reasons I prefer the direct syscall system on Linux...
At least the kernel I sort-of trust :-)

Groetjes, Peter

-- 
It's logic Jim, but not as we know it. | [EMAIL PROTECTED]
"God, root, what is difference?" - Pitr| http://people.debian.org/~pvaneynd/
"God is more forgiving." - Dave Aronson| http://users.belgacom.net/pvaneynd/

-- Attached file included as plaintext by Listar --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9r94d11ldN0tyliURAnGDAJ447u9Pj2RQEfsSnUl8zak5rayHTgCfaiXJ
T1mMvyvZuX61HEjTguUoXZQ=
=drBr
-----END PGP SIGNATURE-----



Reply via email to