[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: RTLD_GLOBAL on Mac OS X
- From: Tony Finch <dot@...>
- Date: Mon, 28 Nov 2011 11:49:48 +0000
William Ahern <william@25thandClement.com> wrote:
> ll_load() in Lua 5.2's loadlib.c either passes RTLD_GLOBAL or 0, according to
> the value of `seeglb'. But my OS X dlopen(3) man page says
>
> If neither RTLD_GLOBAL nor RTLD_LOCAL is specified, the default is
> RTLD_GLOBAL.
Weird :-) On Linux, FreeBSD, and Solaris, the default is RTLD_LOCAL. POSIX
says the default is unspecified.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlopen.html
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
Tyne, Dogger: South or southwest 5 or 6, increasing 7 or gale 8, perhaps
severe gale 9 later. Moderate or rough, occasionally very rough later in
Dogger. Occasional rain later. Moderate or good.