Artifacts Associated With Ticket 218763
Ticket change [23bdb5176a] (rid 130987) by nobody on 2000-10-26 01:05:05:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2038 RFE Version: 8.1 SubmitDate: '1999-05-10' LastModified: '1999-08-06' Severity: MED Status: Released Submitter: pat ChangedBy: hobbs OS: Linux-Red Hat OSVersion: 4.2 Machine: Other FixedDate: '1999-08-06' FixedInVersion: 8.2b2 ClosedDate: '2000-10-25' Name: Jan Nijtmans Comments: A further improvement would be to export TclTestChannelObjCmd TclTestChannelEventObjCmd in stead of TclTestChannelCmd TclTestChannelEventCmd (Objectified versions of the same functions) DesiredBehavior: Currently the test files (tclTest.c, tclObjTest.c ....) cannot be compiled with the -DUSE_TCL_STUBS flag. The cause for this is that 8 internal functions are not exported (or not exported correctly) in the internal stub table. The required functions to make this work are: TclSetLibraryPath TclGetLibraryPath TclRegAbout TclRegExpExecUniChar TclRegExpRangeUniChar TclTestChannelCmd TclTestChannelEventCmd TclpStat In the patch below, the first 7 of those functions are added to tclInt.decls. The last function (TclpStat) is already present, but due to a leftover "#undef" in tclUnixPort.h, this function is not usable as it is now. The patch corrects this too (this is probably a left-over from a workaround in 8.1b2, which is no longer necessary) Finally, because of the added "regexp" functions, the ordering of the header files needs to be modified in tclTest.c. "tclRegexp.h" needs "tcl.h" first, and "tclInt.h" needs macro's from "tclRegexp.h" first. Patch: *** generic/tclInt.decls.origSun May 9 16:15:30 1999 --- generic/tclInt.declsSun May 9 17:05:09 1999 *************** *** 529,534 **** --- 529,561 ---- declare 141 generic { char *TclpGetCwd(Tcl_Interp *interp, Tcl_DString *cwdPtr) } + declare 142 generic { + void TclSetLibraryPath(Tcl_Obj *pathPtr) + } + declare 143 generic { + Tcl_Obj *TclGetLibraryPath(void) + } + declare 144 generic { + int TclRegAbout(Tcl_Interp *interp, Tcl_RegExp re) + } + declare 145 generic { + int TclRegExpExecUniChar(Tcl_Interp *interp, Tcl_RegExp re, + CONST Tcl_UniChar *uniString, int numChars, int nmatches, + int flags) + } + declare 146 generic { + void TclRegExpRangeUniChar(Tcl_RegExp re, int index, int *startPtr, + int *endPtr) + } + declare 147 generic { + int TclTestChannelCmd(ClientData clientData, + Tcl_Interp *interp, int argc, char **argv) + } + declare 148 generic { + int TclTestChannelEventCmd(ClientData clientData, + Tcl_Interp *interp, int argc, char **argv) + } + ############################################################################## # Define the platform specific internal Tcl interface. These functions are *** generic/tclTest.c.origThu Apr 29 03:11:49 1999 --- generic/tclTest.cSun May 9 17:09:51 1999 *************** *** 18,26 **** #define TCL_TEST #include "tclInt.h" #include "tclPort.h" - #include "tclRegexp.h" #include <locale.h> /* --- 18,27 ---- #define TCL_TEST + #include "tcl.h" + #include "tclRegexp.h" #include "tclInt.h" #include "tclPort.h" #include <locale.h> /* *** unix/tclUnixPort.h.origSun May 9 18:35:41 1999 --- unix/tclUnixPort.hSun May 9 18:36:38 1999 *************** *** 467,479 **** #define TclpExitexit - #ifdef TclpStat - #undef TclpStat - #endif - EXTERN intTclpLstat _ANSI_ARGS_((CONST char *path, - struct stat *buf)); - EXTERN intTclpStat _ANSI_ARGS_((CONST char *path, struct stat *buf)); /* --- 467,473 ---- PatchFiles: tclInt.decls tclTest.c tclUnixPort.h These were added in 8.2b2. -- 08/06/1999 hobbs - foundin initialized to: "obsolete: 8.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "Missing functions from internal Stub table"
- type initialized to: "RFE"
Ticket change [2bd8cfb2aa] (rid 118815) by welch on 2000-10-26 08:28:14:
- closedate changed to: "2000-10-26T01:28:14"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [5e5c936a0f] (rid 115626) by dgp on 2001-04-18 07:05:23:
- foundin changed to: "None"
- status changed to: "Open"
- subsystem changed to: "None"
Ticket change [eb3cbc3a1c] (rid 103509) by dgp on 2001-04-18 07:06:48:
- closedate changed to: "2001-04-18T00:06:48"
- closer changed to: "dgp"
- status changed to: "Closed"