diff options
author | cvs2fossil <cvs2fossil> | 2000-03-30 04:36:09 (GMT) |
---|---|---|
committer | cvs2fossil <cvs2fossil> | 2000-03-30 04:36:09 (GMT) |
commit | 0b5453c561b62764ef764923e89b8c32e3b0f3a1 (patch) | |
tree | 56004322c3888a75cfad2896ad2e4b54bb7866dd /generic/tclNamesp.c | |
parent | 5f7fd015c795c68b50b9f34e28deb81c5f5549d2 (diff) | |
download | tcl-scriptics_sc_2_0_b2_synthetic.zip tcl-scriptics_sc_2_0_b2_synthetic.tar.gz tcl-scriptics_sc_2_0_b2_synthetic.tar.bz2 |
Created branch scriptics-sc-2-0-b2-syntheticscriptics_sc_2_0_b2scriptics_sc_2_0_b2_synthetic
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r-- | generic/tclNamesp.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c index 43b074c..b64b6cc 100644 --- a/generic/tclNamesp.c +++ b/generic/tclNamesp.c @@ -19,7 +19,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclNamesp.c,v 1.17 2000/03/27 22:18:56 hobbs Exp $ + * RCS: @(#) $Id: tclNamesp.c,v 1.16 2000/01/26 21:36:35 ericm Exp $ */ #include "tclInt.h" @@ -956,20 +956,6 @@ Tcl_Export(interp, namespacePtr, pattern, resetListFirst) } /* - * Make sure that we don't already have the pattern in the array - */ - if (nsPtr->exportArrayPtr != NULL) { - for (i = 0; i < nsPtr->numExportPatterns; i++) { - if (strcmp(pattern, nsPtr->exportArrayPtr[i]) == 0) { - /* - * The pattern already exists in the list - */ - return TCL_OK; - } - } - } - - /* * Make sure there is room in the namespace's pattern array for the * new pattern. */ |