aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-18 09:25:01 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-18 09:25:01 -0300
commit9b7af7e45bfe3432be8fea27e70de076b22f805f (patch)
treee211112e9144262e7b89fd133fdbea6975e830bc
parent2e66248f8a8e8e880d3d2010462bed9403f24f08 (diff)
downloadlua-9b7af7e45bfe3432be8fea27e70de076b22f805f.tar.gz
lua-9b7af7e45bfe3432be8fea27e70de076b22f805f.tar.bz2
lua-9b7af7e45bfe3432be8fea27e70de076b22f805f.zip
tests for Windows version
-rw-r--r--loadlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loadlib.c b/loadlib.c
index 69b1339e..c4b4b7fa 100644
--- a/loadlib.c
+++ b/loadlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id$ 2** $Id: loadlib.c,v 1.1 2003/03/17 13:01:48 roberto Exp roberto $
3** Bare-bones dynamic library loader for Lua 3** Bare-bones dynamic library loader for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5* 5*
@@ -95,7 +95,7 @@ static void pusherror(lua_State *L)
95 0, error, 0, buffer, sizeof(buffer), 0)) 95 0, error, 0, buffer, sizeof(buffer), 0))
96 lua_pushstring(L,buffer); 96 lua_pushstring(L,buffer);
97 else 97 else
98 lua_pushfstring("system error %d\n",error); 98 lua_pushfstring(L,"system error %d\n",error);
99} 99}
100 100
101static int loadlib(lua_State *L) 101static int loadlib(lua_State *L)