From 0cf317f36f7582cb0540c74910020c9d5f4aa14f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 29 Sep 2009 13:11:20 +0200 Subject: s3: Remove the lua interpreter again This was meant to support async winbind. But as the hairy parts of async winbind (getgrent) are done without it, it can go again. --- source3/lua-5.1.4/test/readonly.lua | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 source3/lua-5.1.4/test/readonly.lua (limited to 'source3/lua-5.1.4/test/readonly.lua') diff --git a/source3/lua-5.1.4/test/readonly.lua b/source3/lua-5.1.4/test/readonly.lua deleted file mode 100644 index 85c0b4e013..0000000000 --- a/source3/lua-5.1.4/test/readonly.lua +++ /dev/null @@ -1,12 +0,0 @@ --- make global variables readonly - -local f=function (t,i) error("cannot redefine global variable `"..i.."'",2) end -local g={} -local G=getfenv() -setmetatable(g,{__index=G,__newindex=f}) -setfenv(1,g) - --- an example -rawset(g,"x",3) -x=2 -y=1 -- cannot redefine `y' -- cgit