Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes:
>> It seems to me that the real problem here is that someone tried to
>> take shortcuts in the AIX dynloader code.
> actually most other ports do it that way. e.g. FreeBSD
> so I guess that is why it is done like that.
Hmm, good point. I wonder why we don't see problems with them? Perhaps
the underlying functions have the right signatures on those platforms.
>> + void
>> + pg_dlclose(void *handle)
>> + {
>> + dlclose(h);
> you mean: dlclose(handle);
Ooops :-(. Thanks for the correction.
regards, tom lane