Re: NLS functions in the Lua core
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: NLS functions in the Lua core
- From: Enrico Colombini <erix@...>
- Date: 2007年11月07日 15:46:54 +0100
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