lua-users home
lua-l archive

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


> since i don't get answer, i forward it here

Sorry for my laziness.


> i think that i've found small error in l_split() function given on
> http://www.lua.org/pil/27.2.html - it should use memchr instead of
> strchr since Lua strings may contain NULs

I am not sure whether this is an error, but certainly 'memchr' would
make the function more generic (but a little more complex). Thanks for
the feedback.

-- Roberto