History

Lua 5.2.1-rc3

Lua Team committed 14 years ago

Commit daa74971 parent b19ccd47 files · +114 −85Browse files

Showing the changes to src/loadlib.c (1 of 7 files). Show all

Unified · Split

src/loadlib.c+3−3
@@ -1,5 +1,5 @@
11 /*
2−** $Id: loadlib.c,v 1.110 2012/04/26 19:38:52 roberto Exp $
2+** $Id: loadlib.c,v 1.111 2012/05/30 12:33:44 roberto Exp $
33 ** Dynamic library loader for Lua
44 ** See Copyright Notice in lua.h
55 **
@@ -482,9 +482,9 @@ static void findloader (lua_State *L, const char *name) { · 476 unmodified lines
482482 lua_getfield(L, lua_upvalueindex(1), "searchers"); /* will be at index 3 */
483483 if (!lua_istable(L, 3))
484484 luaL_error(L, LUA_QL("package.searchers") " must be a table");
485− /* iterate over available seachers to find a loader */
485+ /* iterate over available searchers to find a loader */
486486 for (i = 1; ; i++) {
487− lua_rawgeti(L, 3, i); /* get a seacher */
487+ lua_rawgeti(L, 3, i); /* get a searcher */
488488 if (lua_isnil(L, -1)) { /* no more searchers? */
489489 lua_pop(L, 1); /* remove nil */
490490 luaL_pushresult(&msg); /* create error message */