Hi Alex,

Nope, native does NOT work with “@“ on Darwin.

The definition of RTLD_DEFAULT is

dlfcn.h:#define RTLD_DEFAULT    ((void *) -2)

So it seems that is the culprit.

Regards,
Andras


> On 2020. Nov 7., at 18:37, Alexander Burger <a...@software-lab.de> wrote:
> 
> On Sat, Nov 07, 2020 at 06:17:30PM +0100, Alexander Burger wrote:
>>> : (de %@ @ (pass 'native "libSystem.B.dylib"))
>> ...
> 
> Hmm, an idea:
> 
> Can it be that RTLD_DEFAULT is not zero (null) in Darwin?
> 
> Looks like 'native' has such an assumption. But then, on the other hand, 
> neither
> (native "@" "foo" ..) nor (%@ "foo" ...) would work. And, as I understood you,
> 'native' *does* work with "@" ...
> 
> ☺/ A!ex
> 
> -- 
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to