From d39a834cca9ff62b0d417677527e08e0304d8468 Mon Sep 17 00:00:00 2001 From: dgp Date: Fri, 31 May 2002 23:21:11 +0000 Subject: * Fixed leak of slave interp in [pkg_mkIndex]. Thanks to Helmut for report. [Bug 550534] --- ChangeLog | 3 +++ library/package.tcl | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 851b9c6..2a09525 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-05-31 Don Porter + * 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" -- cgit v0.12