"Frederic Bouvier" <[EMAIL PROTECTED]> writes:
> The fact that you are using the function pointer *after* dlclose
> is as broken as Erik's version. This is not good practise to
> bet on side effects that are beyond your control.
_NO_, because the pointer now points to an object in memory in the
scope of the program which is guaranteed to be always the same. this
is equivalent to just calling dlsym(RTLD_DEFAULT,func). incidentally,
on linux RTLD_DEFAULT is defined to be 0, but on solaris is -2. i wish
i still had an irix machine....
| I believe the moment is at hand when, by a paranoiac and active |
| advance of the mind, it will be possible (simultaneously with |
| automatism and other passive states) to systematize confusion |
| and thus to help to discredit completely the world of reality. |
Flightgear-devel mailing list