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)
commitba71ea0fd0a662b4a25102ccd493f41ac83a78e8 (patch)
tree987ade1a7f3143467c28077e9c6dd8a487ba8e2f /generic/tclCmdMZ.c
parentbeafaf34bb06c64acf0e23b23cba3c1cdd1c6fca (diff)
downloadtcl-ba71ea0fd0a662b4a25102ccd493f41ac83a78e8.zip
tcl-ba71ea0fd0a662b4a25102ccd493f41ac83a78e8.tar.gz
tcl-ba71ea0fd0a662b4a25102ccd493f41ac83a78e8.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;