Artifacts Associated With Ticket 1412695fff
Ticket change [447df3bb18] (rid 116720) by traum on 2006-01-23 10:40:55:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I had errors (wrong # of args) while using compiled code (tclcompiler -> tbcload) which uses procs with "args" argument. In generic/tclProc.c line 460 VAR_IS_ARGS is set for precompiled code but inside the if-statement for the default-value. I moved this code outside and my problems went away. --- tclProc.c 2006-01-23 08:42:05.000000000 +0100 +++ tclProc.c.orig 2006-01-23 08:41:18.000000000 +0100 @@ -457,12 +457,12 @@ ckfree((char *) fieldValues); goto procError; } - } - if ((i == numArgs - 1) - && (localPtr->nameLength == 4) - && (localPtr->name[0] == 'a') - && (strcmp(localPtr->name, "args") == 0)) { - localPtr->flags |= VAR_IS_ARGS; + if ((i == numArgs - 1) + && (localPtr->nameLength == 4) + && (localPtr->name[0] == 'a') + && (strcmp(localPtr->name, "args") == 0)) { + localPtr->flags |= VAR_IS_ARGS; + } } localPtr = localPtr->nextPtr; - foundin initialized to: "obsolete: 8.5a4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "traum"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "VAR_IS_ARGS not set in precompiled case"
- type initialized to: "Bug"
Ticket change [51c6e68403] (rid 126185) by msofer on 2006-01-23 18:02:29:
- icomment:
Logged In: YES user_id=148712 Thank you; fixed in HEAD.
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"
- icomment:
Ticket change [d0701a2558] (rid 113184) by msofer on 2006-01-23 18:02:30:
- closedate changed to: "2006-01-23T11:02:30"
- closer changed to: "msofer"