Alex Romosan wrote: > "Frederic Bouvier" 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....
So you're just guessing. The cvs version is assured to work on any system. -Fred _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
