[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Fwd: Probably error in PIL
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 12 May 2009 16:39:52 -0300
> 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