diff options
| author | Drahflow <drahflow@gmx.de> | 2015-07-01 21:59:26 +0200 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2015-07-01 21:59:26 +0200 |
| commit | e8db9923c027776aacb1157755dc2fd5067c59f9 (patch) | |
| tree | 9b7950971a28ba31c0a85ec7b099df9c8b790060 | |
| parent | 5fc185befa5c40b1260bd918f04bbb59653710af (diff) | |
Fix bug in resolveFunction
| -rw-r--r-- | elymas/lib/sys/so.ey | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/elymas/lib/sys/so.ey b/elymas/lib/sys/so.ey index e452842..5c65ccf 100644 --- a/elymas/lib/sys/so.ey +++ b/elymas/lib/sys/so.ey @@ -683,12 +683,14 @@ } }' { sys .?freebsd } { - 0 ==result - allLibraries { - result { -- } { name -01 dlsym =result } ? * - } each - result _ not { "Could not resolve function: " name cat die } rep - args rets wrapFunction + { ==rets ==args ==name + 0 ==result + allLibraries { + result { -- } { name -01 dlsym =result } ? * + } each + result _ not { "Could not resolve function: " name cat die } rep + args rets wrapFunction + } }' ] conds /resolveFunction deffd |
