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

Re: [MiNT] lseek() fails with offsets larger than file size



On 12/21/13 16:11, Vincent Rivière wrote:
Hello.

On hostfs and ext2, lseek() fails with offsets larger than the file size. Even if it's strange, that should succeed.

On hostfs, it succeeds, as expected.

This bug prevents WinSCP to fetch files from sshd running on FreeMiNT, when the files are located on ramfs or ext2.

I have filed a bug on Mantis:
http://sparemint.org/bugtracker/view.php?id=197


Hi Vincent,

Thanks for the report on this. I knew of the problem before you logged the bug, but hadn't bothered enough to fix it.

Anyway, now it was time and I've committed some fixes to the CVS.

I've tested fatfs, ext2fs and ramfs, but don't have aranym setup and no minix filesystem at the moment to test.

Can you test aranym to ensure it works there ?

Thanks,

Alan.