From: Brian G. <bri...@me...> - 2012-10-16 14:25:52
|
On Oct 16, 2012, at 7:05 AM, Jan Nijtmans wrote: > 2012/10/16 Brian Griffin <bri...@me...>: >>> If it's not too difficult, can you point me to this bit of history? >> >> "Removed" is probably an exaggeration. The change was from: >> >> tclInt.h:EXTERN void TclInitSubsystems(CONST char *argv0); >> to >> tclInt.h:MODULE_SCOPE void TclInitSubsystems(void); >> >> It's been well over a year since I had to deal with this, but I think MODULE_SCOPE caused some linking issues for us. That plus the argument change required ifdefery in our code, so I implemented what is now patch 3577650. > > Isn`t the function Tcl_FindExecutable(argv0) then what you > want? It is in the public API, and TclInitSubsystems() is the > first function it calls. That's over kill for what we need which is mostly just Tcl_DStrings. -Brian |