Lionel Elie Mamane <email@example.com> writes:
> On Tue, Sep 14, 2004 at 10:34:19PM +0200, Lionel Elie Mamane wrote:
>> On Tue, Sep 14, 2004 at 09:46:51PM +0200, Martin Gasbichler wrote:
>>> Lionel Elie Mamane <firstname.lastname@example.org> writes:
>>>> I get the impression that (on GNU/Linux) scsh gets compiled without
>>>> large file ( > 2GB) support. Is there a way around that?
>>> Yes, please add AC_SYS_LARGEFILE to configure.in.
>> Is this all there is to it? off_t becomes 64 bits instead of 32 bits
>> long then, doesn't code at the scheme/C border need to be adapted,
>> too? I'll try to see if the seek functions still work to test it.
> I did the following tests:
> - (run (cat) (> "foo")) works alright when more than 2GB pass.
> - (file-size "foo") gives a negative number when foo is between 2 and
> 4GB and the size of foo minus 4GB between 4GB and 6GB.
Okay, so for now scsh doesn't work on large files. I'll try to fix
this as soon as possible.