Overview
| Artifact ID: | 4f11549c7da744b470d7a9917d9479a370d864fb |
|---|---|
| Ticket: | 218130ffffffffffffffffffffffffffffffffff
TclpUnloadFile called, if initProc isn't found |
| User & Date: | nobody on 2000-10-26 00:53:29 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 2006 RFE Version: 8.1 SubmitDate: '1999-05-07' LastModified: '2000-04-03' Severity: MED Status: Closed Submitter: pat ChangedBy: hobbs OS: Linux OSVersion: debian-Linux 2.2.6 Machine: Other FixedDate: '2000-10-25' ClosedDate: '2000-04-03' Name: Johannes Zellner Extensions: blt (frequently), expect, itcl & co (frequently), occasionally: tix, dp DesiredBehavior: in the new 8.1 generic/tclLoad.c the function TclpUnloadFile is called, if the initProc isn't found. This makes it impossible to load shared libs which were not intended to be used from tcl. Example: I use a small extension, which links the gnu readline to tcl. This needs of course the libreadline.so but also the libcurses.so or libtermcap.so to be loaded. (It worked pretty nice up to 8.0.5.) Patch: To solve this problem we'd need only to remove a single line from the generic/tclLoad.c. I've put a patch to http://www.zellner.org/tcl/tcl8.1-tclLoad.c.patch PatchFiles: generic/tclLoad.c This isn't a problem when I used the Tcl readline extension with 8.3 (which still has that line of code). The linker should make the proper associations at link-time, not relying on Tcl. There is another RFE to generically allow opening any sort of library, which is an interesting idea, but for another purpose. -- 04/03/2000 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: "TclpUnloadFile called, if initProc isn't found"
- type changed to: "Bug"