lua-users home
lua-l archive

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


I've added a patch to make print print strings containing NULs, after an extremely annoying debugging experience where I thought I was having shell quoting problems, but the problem was actually the string returned by find -print0.

Arguably this is a bug fix, as print's specification doesn't say it won't cope with strings containing NULs.

See http://lua-users.org/wiki/LuaPowerPatches

Patch is at http://lua-users.org/files/wiki_insecure/power_patches/5.1/print-nuls.patch

[Lua authors: why fprints("\t", stdout) rather than putc('\t', stdout)?]

--
http://rrt.sc3d.org/ | language, n.  a dialect with an army (Max Weinreich)