lua-users home
lua-l archive

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



On Apr 3, 2007, at 6:07 PM, Luiz Henrique de Figueiredo wrote:

One issue: SUSv3 (Single Unix Specification, v3) requires you to  
either specify RTLD_LOCAL or RTLD_GLOBAL to 'dlopen'.

That's not what I read from



You're right. 'Unspecified' is less troublesome than 'undefined', the platform can select any behavior. 'Unspecified' means that relying on any behavior makes your application not portable.

Let me rephrase: if you care about whether symbols defined by your dynamically loaded module are added to the global symbol table you need to specify the behavior. 



--
Gé Weijers