forked from pool/lua54
42bd18111b
- Added patches from upstream: * luabugs1.patch * luabugs2.patch - Adjust buildsystem so that it matches upstream git (testes??) OBS-URL: https://build.opensuse.org/request/show/960438 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=52
12 lines
462 B
Diff
12 lines
462 B
Diff
--- a/testes/attrib.lua
|
|
+++ b/testes/attrib.lua
|
|
@@ -269,7 +269,7 @@ local p = "" -- On Mac OS X, redefine
|
|
local st, err, when = package.loadlib(DC"lib1", "*")
|
|
if not st then
|
|
local f, err, when = package.loadlib("donotexist", p.."xuxu")
|
|
- assert(not f and type(err) == "string" and when == "absent")
|
|
+ assert(not f and type(err) == "string" and when == "open")
|
|
;(Message or print)('\n >>> cannot load dynamic library <<<\n')
|
|
print(err, when)
|
|
else
|