summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-11-04 14:56:19 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-11-04 14:56:19 (GMT)
commit9bbdc1599de82b388e548191a669524d9b577653 (patch)
tree5e4d6bfc6797aaa24475561ed237b5cfef8a1c7d
parentc3cab24a5ae3da6e8f6344f25096863ed00ffc92 (diff)
parent1c9ca6b643b52cbe7a965109dbda2a25c6aa65ff (diff)
downloadtcl-9bbdc1599de82b388e548191a669524d9b577653.zip
tcl-9bbdc1599de82b388e548191a669524d9b577653.tar.gz
tcl-9bbdc1599de82b388e548191a669524d9b577653.tar.bz2
[824752f10e] Use LIST_MAX instead of INT_MAX for unknown number of elements to the end of the list.
-rw-r--r--generic/tclEnsemble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclEnsemble.c b/generic/tclEnsemble.c
index 43813f1..a499ce9 100644
--- a/generic/tclEnsemble.c
+++ b/generic/tclEnsemble.c
@@ -3135,7 +3135,7 @@ TclCompileEnsemble(
* any extra elements that might have been appended by failing
* pathways above.
*/
- (void) Tcl_ListObjReplace(NULL, replaced, depth-1, INT_MAX, 0, NULL);
+ (void) Tcl_ListObjReplace(NULL, replaced, depth-1, LIST_MAX, 0, NULL);
/*
* TODO: Reconsider whether we ought to call CompileToInvokedCommand()