
On Sun, 02 May 2004 23:46:15 -0700, Bryce Harrington wrote:
Looking at the binreloc documentation, it can be turned off via a macro.
Yeah, just autoconf it out or something. It's not a big deal, as AFAIK the codepaths which use binreloc in Inkscape do not need to be thread safe.
Well, one of the reasons the autopackage folks want to have it implemented in a real app is to uncover issues like this, that other potential autopackage users might also run up against. I bet it would be worth dropping them a note, even if we go ahead with the macro for now. Might be something they'll want to implement in the future.
Yes we know this is a problem. For projects using GTK/Glib we want to get a binreloc patch into glib. I know how to write the Win32 equivalent code so it should be portable at least to a variety of UNIXes, Linux and Win32 if not MacOS.
For now you can special case prefix.cpp to do whatever you want (if you modify the semantics of any of the functions though be sure to rename them). It's just a generic kit you can adapt to your needs. In future, there will hopefully be a g_get_binary_path() function.
thanks -mike