Overview
| Artifact ID: | da1c2167a774de9eb2b03053639a0b6bf684bbfb |
|---|---|
| Ticket: | 218756ffffffffffffffffffffffffffffffffff
tclLoadNone.c doesn't define Tclp{L,Unl}oadFile |
| User & Date: | nobody on 2000-10-26 01:05:00 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "tclLoadNone.c doesn't define Tclp{L,Unl}oadFile"
- type changed to: "Bug"