summaryrefslogtreecommitdiffstats
path: root/generic/tclEnsemble.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-11-04 14:54:38 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-11-04 14:54:38 (GMT)
commit1c9ca6b643b52cbe7a965109dbda2a25c6aa65ff (patch)
tree18921c9adfee8ca44288096b12a6add494295f8b /generic/tclEnsemble.c
parentb94e244508854aab209a3aa83cc0f559f974f6c9 (diff)
downloadtcl-1c9ca6b643b52cbe7a965109dbda2a25c6aa65ff.zip
tcl-1c9ca6b643b52cbe7a965109dbda2a25c6aa65ff.tar.gz
tcl-1c9ca6b643b52cbe7a965109dbda2a25c6aa65ff.tar.bz2
[8245752f10e] Use LIST_MAX instead of INT_MAX for unknown number of elements
to the end of the list.
Diffstat (limited to 'generic/tclEnsemble.c')
-rw-r--r--generic/tclEnsemble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclEnsemble.c b/generic/tclEnsemble.c
index 6fedf29..c1b0890 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()