guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file-exists? confused


From: Kevin Ryde
Subject: Re: file-exists? confused
Date: Wed, 15 Mar 2006 09:33:53 +1100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Actually, I see off_t is exposed through the ptob port descriptor
funcs, so implicitly changing to off64_t would break applications.

It'd be nice if guile could use the 64 functions internally.  There
might need to be new entries in the ptob for seek64 and truncate64
versions of the seek and truncate funcs.  Or a flag saying which
flavour is in use.

There doesn't seem to be any room in that struct, but if it's always
created by scm_make_port_type then perhaps adding new fields to the
end would keep compatibility.

One thing that could be done straight away though is use stat64 and
readdir64_r for all the guile internal bits.  That'd give information,
even if you can't actually read/write large files.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]