|
Mike Pall wrote:
I'm still of the opinion that the Lua core should stay clear of NLS functions. I.e. replace ctypes with an internal table, replace l_strcmp with memcmp [...]
Speaking of which... there's a point I don't understand in l_strcmp(): int temp = strcoll(l, r);what happens if neither string has a '\0' terminator? Does strcoll() go ahead reading memory (possibly causing an exception or other undesired behavior)?
Enrico