diff options
author | dgp <dgp@users.sourceforge.net> | 2002-05-31 23:21:11 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-05-31 23:21:11 (GMT) |
commit | d39a834cca9ff62b0d417677527e08e0304d8468 (patch) | |
tree | 27a2809e0a1766bf5015a05b4dface14820c48dc | |
parent | bb2b38d502250c7eb2f75ce2bb44f73728647921 (diff) | |
download | tcl-d39a834cca9ff62b0d417677527e08e0304d8468.zip tcl-d39a834cca9ff62b0d417677527e08e0304d8468.tar.gz tcl-d39a834cca9ff62b0d417677527e08e0304d8468.tar.bz2 |
* Fixed leak of slave interp in [pkg_mkIndex].
Thanks to Helmut for report. [Bug 550534]
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | library/package.tcl | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2002-05-31 Don Porter <dgp@users.sourceforge.net> + * library/package.tcl: Fixed leak of slave interp in [pkg_mkIndex]. + Thanks to Helmut for report. [Bug 550534] + * tests/io.test: * tests/main.test: Use the "stdio" constraint to control whether an [open "|[interpreter]"] is attempted. diff --git a/library/package.tcl b/library/package.tcl index 4dc1859..91b5831 100644 --- a/library/package.tcl +++ b/library/package.tcl @@ -3,7 +3,7 @@ # utility procs formerly in init.tcl which can be loaded on demand # for package management. # -# RCS: @(#) $Id: package.tcl,v 1.18 2001/07/21 20:26:42 dgp Exp $ +# RCS: @(#) $Id: package.tcl,v 1.19 2002/05/31 23:21:12 dgp Exp $ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1998 Sun Microsystems, Inc. @@ -380,8 +380,8 @@ proc pkg_mkIndex {args} { if {$doVerbose} { tclLog "processed $file" } - interp delete $c } + interp delete $c } append index "# Tcl package index file, version 1.1\n" |