2013-09-11 11:08:10 +00:00
|
|
|
From e8be5a7c24830ce686cec89dac060b3c0495b70e Mon Sep 17 00:00:00 2001
|
2013-09-10 10:16:03 +00:00
|
|
|
From: =?UTF-8?q?Radek=20Vok=C3=A1l?= <rvokal@fedoraproject.org>
|
|
|
|
Date: Tue, 15 Dec 2009 08:36:27 +0000
|
2013-09-12 06:37:58 +00:00
|
|
|
Subject: [PATCH 1/7] enable Lua support
|
2013-09-10 10:16:03 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
epan/wslua/template-init.lua | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2013-06-17 13:19:18 +00:00
|
|
|
diff --git a/epan/wslua/template-init.lua b/epan/wslua/template-init.lua
|
2013-09-10 10:16:03 +00:00
|
|
|
index e6ec4ae..2538c4c 100644
|
2013-06-17 13:19:18 +00:00
|
|
|
--- a/epan/wslua/template-init.lua
|
|
|
|
+++ b/epan/wslua/template-init.lua
|
|
|
|
@@ -43,7 +43,7 @@ if running_superuser then
|
2009-12-15 08:36:27 +00:00
|
|
|
local disabled_lib = {}
|
2013-06-17 13:19:18 +00:00
|
|
|
setmetatable(disabled_lib,{ __index = function() error("this package ".. hint) end } );
|
2009-12-15 08:36:27 +00:00
|
|
|
|
2013-06-17 13:19:18 +00:00
|
|
|
- dofile = function() error("dofile " .. hint) end
|
|
|
|
+-- dofile = function() error("dofile " .. hint) end
|
|
|
|
loadfile = function() error("loadfile " .. hint) end
|
|
|
|
loadlib = function() error("loadlib " .. hint) end
|
|
|
|
require = function() error("require " .. hint) end
|
2013-09-10 10:16:03 +00:00
|
|
|
--
|
|
|
|
1.8.3.1
|
|
|
|
|