Overview
| Artifact ID: | 1f7357581fbb83251e7288c1783425cff4c1f5ee |
|---|---|
| Ticket: | 2269431fffffffffffffffffffffffffffffffff
load of shared objects leaves temporary files on windows |
| User & Date: | nijtmans on 2008-11-14 05:46:18 |
Changes
- icomment:
Checked in the fix, in tclLoad.c 1.21. It just restores the behaviour from before Bugfix 2059262 when the library comes from VFS. If the librarie doesn't come from VFS, nothing changes. It's the most simple solution I can think of. The only dis-advantage is that when the library has no unloadProc, the real unloading from memory is left to the OS. If you don't want this, there is an easy workaround: Just give the library an unLoadProc, even an empty one suffices. This means that ill-behaved libraries still cannot be loaded from VFS: it will lead to a core-dump when the application ends. Lucky enough, I cannot imagine that anyone would like to load Oracle from a starkit: It simply is too dependant on other files installed to be useful. I can live with that limitation. If anyone has a better suggestion, I'm all ears! Still needs to be backported, so leaving open.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"