use saved argv0 - not sure if needed
This commit is contained in:
2
macro.c
2
macro.c
@ -323,6 +323,8 @@ Tcl_Interp *MacroInit(SicsInterp * pSics)
|
||||
assert(pSics);
|
||||
|
||||
/* create interpreter and unknown */
|
||||
extern const char *argv0;
|
||||
Tcl_FindExecutable(argv0);
|
||||
pInter = Tcl_CreateInterp();
|
||||
pUnknown = (struct __SicsUnknown *) malloc(sizeof(struct __SicsUnknown));
|
||||
if ((!pInter) || (!pUnknown)) {
|
||||
|
Reference in New Issue
Block a user