lua-users home
lua-l archive

Re: bug in loadlib.c?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> This doesn't cause any errors but it looks like the creation of the 
> "package.loaders" table in luaopen_package() is calling 
> lua_createtable() incorrectly, with the "narr" and "nrec" parameters 
> swapped, perhaps leading to some unnecessary reallocation at load time?
>
> [...]
You are right. Many thanks for the feedback.
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /