Artifacts Associated With Ticket 218756
Ticket change [da1c2167a7] (rid 107720) by nobody on 2000-10-26 01:05:00:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2003 Bug Version: 8.1 SubmitDate: '1999-05-07' LastModified: '1999-08-13' Severity: MED Status: Released Submitter: pat ChangedBy: hobbs OS: Other OSVersion: OS/390 4.0 Machine: NA FixedDate: '1999-08-13' FixedInVersion: 8.2 ClosedDate: '2000-10-25' Name: Christian Krone Comments: The patch doesn't follow the style guide, since there is no ^L before the function definition. I found no other way, to paste the diff into this bug form; my browser refused to insert text with embedded ^L :-( ReproducibleScript: ./configure --disable-load make ObservedBehavior: tclLoadNone.c still defines TclLoadFile(), which is no longer used, but forgets to define TclpLoadFile() and TclpUnloadFile(). Patch: *** tclLoadNone.c.orgThu Apr 29 03:11:46 1999 --- tclLoadNone.cThu May 6 19:11:49 1999 *************** *** 18,24 **** /* *---------------------------------------------------------------------- * ! * TclLoadFile -- * *This procedure is called to carry out dynamic loading of binary *code; it is intended for use only on systems that don't support --- 18,24 ---- /* *---------------------------------------------------------------------- * ! * TclpLoadFile -- * *This procedure is called to carry out dynamic loading of binary *code; it is intended for use only on systems that don't support *************** *** 35,41 **** */ int ! TclLoadFile(interp, fileName, sym1, sym2, proc1Ptr, proc2Ptr) Tcl_Interp *interp;/* Used for error reporting. */ char *fileName;/* Name of the file containing the desired * code. */ --- 35,41 ---- */ int ! TclpLoadFile(interp, fileName, sym1, sym2, proc1Ptr, proc2Ptr, clientDataPtr) Tcl_Interp *interp;/* Used for error reporting. */ char *fileName;/* Name of the file containing the desired * code. */ *************** *** 44,49 **** --- 44,52 ---- Tcl_PackageInitProc **proc1Ptr, **proc2Ptr; /* Where to return the addresses corresponding * to sym1 and sym2. */ + ClientData *clientDataPtr;/* Filled with token for dynamically loaded + * file which will be passed back to + * TclpUnloadFile() to unload the file. */ { Tcl_SetResult(interp, "dynamic loading is not currently available on this system", *************** *** 79,82 **** --- 82,111 ---- * package name to this if possible. */ { return 0; + } + /* + *---------------------------------------------------------------------- + * + * TclpUnloadFile -- + * + *This procedure is called to carry out dynamic unloading of binary + *code; it is intended for use only on systems that don't support + *dynamic loading (it does nothing). + * + * Results: + *None. + * + * Side effects: + *None. + * + *---------------------------------------------------------------------- + */ + + void + TclpUnloadFile(clientData) + ClientData clientData;/* ClientData returned by a previous call + * to TclpLoadFile(). The clientData is + * a token that represents the loaded + * file. */ + { } PatchFiles: tclLoadNone.c This fix was made sometime before 8.2. -- 08/13/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: "tclLoadNone.c doesn't define Tclp{L,Unl}oadFile"
- type initialized to: "Bug"
Ticket change [fa5c489a09] (rid 91854) by welch on 2000-10-26 08:28:13:
- closedate changed to: "2000-10-26T01:28:13"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [f012bcb13b] (rid 109113) by dgp on 2001-04-18 07:00:01:
- closedate changed to: "2001-04-18T00:00:01"
- closer changed to: "dgp"
- subsystem changed to: "40. Dynamic Loading"