Tcl Source Code

View Ticket
Login
Ticket UUID: 5c7578d0f2958bfd973bdd14f44dcdda24661494
Title: Tclkits producing temporary directories on Windows
Type: Bug Version: 8.6
Submitter: chw Created on: 2016-05-03 21:00:37
Subsystem: 40. Dynamic Loading Assigned To: nobody
Priority: 5 Medium Severity: Critical
Status: Open Last Modified: 2016-05-03 21:00:37
Resolution: None Closed By: nobody
    Closed on:
Description:
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

Attachments: