|
One issue: SUSv3 (Single Unix Specification, v3) requires you to either specify RTLD_LOCAL or RTLD_GLOBAL to 'dlopen'. The result is 'unspecified', otherwise. I suggest adding RTLD_LOCAL to the 'mode' parameter for 'dlopen' in the next version of Lua. Another bugaboo: 'dlerror' is not required to be thread-safe. (dlopen/dlclose/dlsym are). I don't know what to do about that..... Gé On Apr 3, 2007, at 4:48 PM, Luiz Henrique de Figueiredo wrote:
-- Gé Weijers |