summaryrefslogtreecommitdiffstats
path: root/generic/tclPkg.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2001-08-06 19:13:29 (GMT)
committerdgp <dgp@users.sourceforge.net>2001-08-06 19:13:29 (GMT)
commita9d8cafeb160316d137181d239ab61b01e679abe (patch)
treea21d7fe366552ac56a35c933167c2682ae9e590e /generic/tclPkg.c
parent8e79e931d21c8ba6841e2160abcd6323529d8387 (diff)
downloadtcl-a9d8cafeb160316d137181d239ab61b01e679abe.zip
tcl-a9d8cafeb160316d137181d239ab61b01e679abe.tar.gz
tcl-a9d8cafeb160316d137181d239ab61b01e679abe.tar.bz2
* [package forget] now forgets all of the
package arguments it receives, not stopping when a package is not found. [Bug 415273]
Diffstat (limited to 'generic/tclPkg.c')
-rw-r--r--generic/tclPkg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclPkg.c b/generic/tclPkg.c
index 0219a2f..9956023 100644
--- a/generic/tclPkg.c
+++ b/generic/tclPkg.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclPkg.c,v 1.6 2001/04/04 16:07:21 kennykb Exp $
+ * RCS: @(#) $Id: tclPkg.c,v 1.7 2001/08/06 19:13:29 dgp Exp $
*/
#include "tclInt.h"
@@ -505,7 +505,7 @@ Tcl_PackageObjCmd(dummy, interp, objc, objv)
keyString = Tcl_GetString(objv[i]);
hPtr = Tcl_FindHashEntry(&iPtr->packageTable, keyString);
if (hPtr == NULL) {
- return TCL_OK;
+ continue;
}
pkgPtr = (Package *) Tcl_GetHashValue(hPtr);
Tcl_DeleteHashEntry(hPtr);