Re: [Flightgear-devel] Re: problem with SGLookupFunction (patchincluded)

2004-06-28 Thread Martin Spott
Alex Romosan wrote: just beating a dead horse: erik, are you sure RTLD_DEFAULT is not defined on irix? solaris has it, linux has it. take a look in /usr/include/dlfcn.h and see what's in there. Erik's right, no RTLD_DEFAULT on IRIX, Martin. -- Unix _IS_ user friendly - it's just selective

Re: [Flightgear-devel] Re: problem with SGLookupFunction (patchincluded)

2004-06-27 Thread Frederic Bouvier
Alex Romosan wrote: Erik Hofman [EMAIL PROTECTED] writes: Andy Ross wrote: Erik Hofman wrote: Since FlightGear is linked to libGL at link time, the number of dlclose calls would always be one less than the number of dlopen calls. In which case the dlclose() is 100% guaranteed to be

Re: [Flightgear-devel] Re: problem with SGLookupFunction (patchincluded)

2004-06-27 Thread Frederic Bouvier
Alex Romosan wrote: Frederic Bouvier [EMAIL PROTECTED] writes: Anyway, a fix is in CVS now not exactly. the fix is ugly beyond belief. it basically boils down to commenting out dlclose() (despite all that code being moved around). it also misses out a call to dlerror() after dlopen()

[Flightgear-devel] Re: problem with SGLookupFunction (patchincluded)

2004-06-27 Thread Alex Romosan
Frederic Bouvier [EMAIL PROTECTED] writes: I was not understanding Erik point of view of advocating a patently broken code but now I am really missing your point :-( i just posted a fix which should work on both linux and irix (and any other unix). i need somebody to test the irix part.

[Flightgear-devel] Re: problem with SGLookupFunction (patchincluded)

2004-06-27 Thread Alex Romosan
Alex Romosan [EMAIL PROTECTED] writes: Frederic Bouvier [EMAIL PROTECTED] writes: I was not understanding Erik point of view of advocating a patently broken code but now I am really missing your point :-( i just posted a fix which should work on both linux and irix (and any other unix). i