lua-users home
lua-l archive

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


On Fri, Jan 23, 2009 at 9:37 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> maybe the print() function should cope with \0 bytes in the string.
>> that would make these kind of issues more obvious.
>
> There's a power patch for that:
> http://lua-users.org/files/wiki_insecure/power_patches/5.1/print_nuls.patch

yep, and for embedding it's usually a non-issue; but that doesn't help
newcomers.

-- 
Javier