|
2026-10-22
| ||
| 17:19 | • Ticket [5c7578d0f2] Tclkits producing temporary directories on Windows statu... artifact: f7400805e2 user: serhiy.storchaka | |
|
2026-10-14
| ||
| 15:36 | • Closed ticket [5c7578d0f2]. artifact: de041b02e1 user: serhiy.storchaka | |
|
2016-05-09
| ||
| 09:42 | Fix [5c7578d0f2958bfd]: Tclkits producing temporary directories on Windows check-in: 35ac7f7ade user: jan.nijtmans tags: androwish | |
|
2016-05-03
| ||
| 21:09 | • Add attachment temp-dir-cleanup.patch to ticket [5c7578d0f2958bfd|5c757... artifact: 54cdc7faa1 user: chw | |
| 21:00 | • New ticket [5c7578d0f2] Tclkits producing temporary directories on Windows. artifact: 4115ba887c user: chw | |
Tclkits producing temporary directories on Windows
Closed / Duplicate5c7578d0f2958bfd973bdd14f44dcdda24661494Created 11 years agoUpdated 42 days ago
Descriptionplain2016-05-03 21:00:37
Windows DLLs packaged in starpacks, kits, ZIP file systems are extracted to a temporary directory in $env(TEMP) with pattern TCLnnnnnnnn (where n are hex digits) before they can be loaded into the process address space. This is implemented in the platform specific part of Tcl_LoadFile(). However, the directory is not cleaned up on termination of the application, so over time these directories clutter up the TEMP storage. A proof of concept implementation which performs a cleanup on termination is implemented in two AndroWish check-ins, see http://www.androwish.org/index.html/info/8124bec2b006626e and http://www.androwish.org/index.html/info/02f57b011f15ee65 For discussion on comp.lang.tcl see http://comp.lang.tcl.narkive.com/mdJikuUi/tclkits-producing-temporary-directories
serhiy.storchakawiki2026-10-14 15:36:10
This is the same issue as [a8e4f76ce4], where the possible solutions (loading DLLs from memory, cleanup by a subprocess) and the problems with unloading DLLs at exit, as in the AndroWish patch, are discussed. The fix [35ac7f7ade] was only committed to the androwish branch.
serhiy.storchaka Ticket [5c7578d0f2]: 3 changes
[History diff]2026-10-22 17:19:25
Log in (anonymous is fine) to add a comment.