aboutsummaryrefslogtreecommitdiff
path: root/loadlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-09-11 11:07:24 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-09-11 11:07:24 -0300
commita7c9e45c64a4bff9bdaf0d1177509bdd00fc53f7 (patch)
treef452f26770539293979a3dbd752ee0b38b849123 /loadlib.c
parentcedd2092ebe402e0c6d600969ec926496a8a9d22 (diff)
downloadlua-a7c9e45c64a4bff9bdaf0d1177509bdd00fc53f7.tar.gz
lua-a7c9e45c64a4bff9bdaf0d1177509bdd00fc53f7.tar.bz2
lua-a7c9e45c64a4bff9bdaf0d1177509bdd00fc53f7.zip
avoid trailing white spaces
Diffstat (limited to 'loadlib.c')
-rw-r--r--loadlib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loadlib.c b/loadlib.c
index 6964b567..36778891 100644
--- a/loadlib.c
+++ b/loadlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: loadlib.c,v 1.53 2006/06/22 16:12:59 roberto Exp roberto $ 2** $Id: loadlib.c,v 1.54 2006/07/03 20:16:49 roberto Exp roberto $
3** Dynamic library loader for Lua 3** Dynamic library loader for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5** 5**
@@ -502,7 +502,7 @@ static int ll_require (lua_State *L) {
502** 'module' function 502** 'module' function
503** ======================================================= 503** =======================================================
504*/ 504*/
505 505
506 506
507static void setfenv (lua_State *L) { 507static void setfenv (lua_State *L) {
508 lua_Debug ar; 508 lua_Debug ar;
@@ -630,7 +630,7 @@ LUALIB_API int luaopen_package (lua_State *L) {
630 lua_setfield(L, -2, "__gc"); 630 lua_setfield(L, -2, "__gc");
631 /* create `package' table */ 631 /* create `package' table */
632 luaL_register(L, LUA_LOADLIBNAME, pk_funcs); 632 luaL_register(L, LUA_LOADLIBNAME, pk_funcs);
633#if defined(LUA_COMPAT_LOADLIB) 633#if defined(LUA_COMPAT_LOADLIB)
634 lua_getfield(L, -1, "loadlib"); 634 lua_getfield(L, -1, "loadlib");
635 lua_setfield(L, LUA_GLOBALSINDEX, "loadlib"); 635 lua_setfield(L, LUA_GLOBALSINDEX, "loadlib");
636#endif 636#endif