summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdMZ.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-05-06 20:16:55 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-05-06 20:16:55 (GMT)
commit2bfdc581ba334338f7ae48607cd1bf269815f587 (patch)
tree987ade1a7f3143467c28077e9c6dd8a487ba8e2f /generic/tclCmdMZ.c
parent24b0de09363c5d2c55f8f3cee608482a26d206fb (diff)
downloadtcl-2bfdc581ba334338f7ae48607cd1bf269815f587.zip
tcl-2bfdc581ba334338f7ae48607cd1bf269815f587.tar.gz
tcl-2bfdc581ba334338f7ae48607cd1bf269815f587.tar.bz2
* generic/tclCmdMZ.c: Improve overflow error message from
[string repeat]. [Bug 2582327]
Diffstat (limited to 'generic/tclCmdMZ.c')
-rw-r--r--generic/tclCmdMZ.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c
index 0e5330d..5a88a6f 100644
--- a/generic/tclCmdMZ.c
+++ b/generic/tclCmdMZ.c
@@ -15,7 +15,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCmdMZ.c,v 1.163.2.2 2009/02/04 18:57:47 dgp Exp $
+ * RCS: @(#) $Id: tclCmdMZ.c,v 1.163.2.3 2009/05/06 20:16:55 dgp Exp $
*/
#include "tclInt.h"
@@ -2141,7 +2141,7 @@ StringReptCmd(
if (count > (INT_MAX / length1)) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "max size for a Tcl value (%d bytes) exceeded", INT_MAX));
+ "result exceeds max size for a Tcl value (%d bytes)", INT_MAX));
return TCL_ERROR;
}
length2 = length1 * count;