Skip to content

Fix file descriptor leak

Compare
Choose a tag to compare
@staticfloat staticfloat released this 01 Jun 19:19
· 84 commits to master since this release
2b58bd3

readmeta() was generating a lot of file descriptors to be leaked out into the wild blue yonder. This version moves us to a new API;

readmeta("libfoo.so") do oh
     # use oh here
end

This release also refuses to load fat Mach-O files with a MagicMismatch instead of throwing a RefError on opening them.