summaryrefslogtreecommitdiff
path: root/www/elinks/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'www/elinks/patches/patch-ab')
-rw-r--r--www/elinks/patches/patch-ab10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/elinks/patches/patch-ab b/www/elinks/patches/patch-ab
index 3b8cd3cace4..f40634ce4fc 100644
--- a/www/elinks/patches/patch-ab
+++ b/www/elinks/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.5 2006/09/06 15:14:34 abs Exp $
+$NetBSD: patch-ab,v 1.6 2008/01/09 03:48:07 bjs Exp $
---- src/scripting/lua/core.c.orig 2006-01-29 13:10:39.000000000 +0000
+--- src/scripting/lua/core.c.orig 2008-01-08 18:35:08.000000000 -0500
+++ src/scripting/lua/core.c
-@@ -633,7 +633,7 @@ do_hooks_file(LS, unsigned char *prefix,
+@@ -641,7 +641,7 @@ do_hooks_file(LS, unsigned char *prefix,
if (file_can_read(file)) {
int oldtop = lua_gettop(S);
@@ -11,7 +11,7 @@ $NetBSD: patch-ab,v 1.5 2006/09/06 15:14:34 abs Exp $
sleep(3); /* Let some time to see error messages. */
lua_settop(S, oldtop);
}
-@@ -644,13 +644,24 @@ do_hooks_file(LS, unsigned char *prefix,
+@@ -652,13 +652,24 @@ do_hooks_file(LS, unsigned char *prefix,
void
init_lua(struct module *module)
{
@@ -43,7 +43,7 @@ $NetBSD: patch-ab,v 1.5 2006/09/06 15:14:34 abs Exp $
lua_register(L, LUA_ALERT, l_alert);
lua_register(L, "current_url", l_current_url);
-@@ -755,7 +766,7 @@ handle_ret_eval(struct session *ses)
+@@ -763,7 +774,7 @@ handle_ret_eval(struct session *ses)
int oldtop = lua_gettop(L);
if (prepare_lua(ses) == 0) {