diff options
author | vasiljevic <zv@archiware.com> | 2005-04-16 08:05:36 (GMT) |
---|---|---|
committer | vasiljevic <zv@archiware.com> | 2005-04-16 08:05:36 (GMT) |
commit | dcc058d3fffbd8ad09d0ded3cb607194196d0ef4 (patch) | |
tree | 9a518f3785ed83e3879bec71e2fef554525ae840 | |
parent | f2ce090ed548161bc4bc0ce8ee42d01a7782bca9 (diff) | |
download | tcl-dcc058d3fffbd8ad09d0ded3cb607194196d0ef4.zip tcl-dcc058d3fffbd8ad09d0ded3cb607194196d0ef4.tar.gz tcl-dcc058d3fffbd8ad09d0ded3cb607194196d0ef4.tar.bz2 |
See file
-rw-r--r-- | ChangeLog | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -1,3 +1,35 @@ +2005-04-16 Zoran Vasiljevic <vasiljevic@users.sf.net> + + * generic/tclIOUtil.c: force clenaup of the interp result + in TclLoadFile(). Some implementations of TclpFindSymbol() + will seed the interp result with error message when unable + to find the requested symbol (this is not considered to + be an error). + + Set of changes correcting huge memory waste (not a leak) + when a thread exits. This has been introduced in 8.4.7 + within an attempt to correctly cleanup after ourselves when + Tcl library is being unloaded with the Tcl_Finalize() call. + + This fixes the Tcl Bug #1178445. + + * generic/tclInt.h: added prototypes for TclpFreeAllocCache() + and TclFreeAllocCache() + + * generic/tclThreadAlloc.c: modified TclFinalizeThreadAlloc() + to explicitly call TclpFreeAllocCache with the NULL-ptr as + argument signalling cleanup of private tsd key used only by + the threading allocator. + + * unix/tclUnixThrd.c: fixed TclpFreeAllocCache() to recognize + when being called with NULL argument. This is a signal for it + to clean up the tsd key associated with the threading allocator. + + * win/tclWinThrd.c: renamed TclWinFreeAllocCache to TclpFreeAllocCache + and fixed to recognize when being called with NULL argument. + This is a signal for it to clean up the tsd key associated with the + threading allocator. + 2005-04-13 Don Porter <dgp@users.sourceforge.net> * tests/unixInit.test: Disabled obsolete tests and removed code |