Issue with that line - should set current position at the begining, but set at the end of the file !!! #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
a87c39daa8/IMG.c (L165)
That line causes a lot of troubles. seems there is a problem as it should set the current position in the file at the very begining but in fact set it at the very end.
Yes, of course. See what's happening:
You start here:
That call is defined here, which sounds nice:
But what is
RW_SEEK_CUR
exactly? Since we're using the stdio backend, this should beSEEK_CUR
from<stdio.h>
. But no, it's defined here, as a constant:And what would you know, that's not the convention used by fxlibc, which is instead defined here:
Just fix the SDL source to use
SEEK_SET
,SEEK_CUR
andSEEK_END
from<stdio.h>
and, if my analysis is correct, you'll get there in no time.Correct, I checked everything except that, and it is so obvious !! Thanks Lephé, I was getting mad. Will try asap.
Issue solved / Closing the ticket. Thx