diff options
author | dgp <dgp@users.sourceforge.net> | 2009-05-06 20:16:16 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-05-06 20:16:16 (GMT) |
commit | 8af7bf38453d71fecfc5e4e507d92e5220b5d5be (patch) | |
tree | b15e8eb5f81c203478b80d1dccee0eee12ed57af /generic/tclCmdMZ.c | |
parent | 3f9c03e559afb22460b355892e961c54863e7e6d (diff) | |
download | tcl-8af7bf38453d71fecfc5e4e507d92e5220b5d5be.zip tcl-8af7bf38453d71fecfc5e4e507d92e5220b5d5be.tar.gz tcl-8af7bf38453d71fecfc5e4e507d92e5220b5d5be.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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c index 296271c..bb0d3bd 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.182 2009/03/16 10:21:42 dkf Exp $ + * RCS: @(#) $Id: tclCmdMZ.c,v 1.183 2009/05/06 20:16:17 dgp Exp $ */ #include "tclInt.h" @@ -2144,7 +2144,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; |