On Feb 19, 2014, at 14:59 , steve donovan wrote:
I do not really understand how there can be so much argument for something
as simple as this. This bug only exists because this old-fashioned C function
does not return how much data was read. If this C function would return a
pointer to the end of the data (like the new getline(3)) we would not even have
an discussion now. Amazing how much energy goes into preventing other
people to improve something; fix an issue.
Actually the C function behaves properly, just that Lua makes no attempt to
determine how much was actually read. And instead of just fixing this bug we
end up arguing -Steve Jobs like- that I am holding the binary text file wrong.
And again, most system including Linux and Mac ignore this text mode
nonsense to start with and simply tread all files as binary files no matter
how long you want to call some files text tiles.