diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-03-18 20:07:15 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-03-18 20:07:15 (GMT) |
commit | 301062d3fba2d66db58bb0d3df8a8abc83bf1dce (patch) | |
tree | e2721cf766f08971cbca314b903ee7ec99122481 /generic/tclScan.c | |
parent | 6d0e92b89ee6d83f8255334bf2f2a7c23e19c009 (diff) | |
parent | c92353bea97dda2c6b840f308c549492629f9698 (diff) | |
download | tcl-301062d3fba2d66db58bb0d3df8a8abc83bf1dce.zip tcl-301062d3fba2d66db58bb0d3df8a8abc83bf1dce.tar.gz tcl-301062d3fba2d66db58bb0d3df8a8abc83bf1dce.tar.bz2 |
Add 4 new encodings, and add documentation.
Diffstat (limited to 'generic/tclScan.c')
-rw-r--r-- | generic/tclScan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclScan.c b/generic/tclScan.c index 068450c..b03664f 100644 --- a/generic/tclScan.c +++ b/generic/tclScan.c @@ -261,7 +261,7 @@ ValidateFormat( Tcl_UniChar ch = 0; int objIndex, xpgSize, nspace = numVars; int *nassign = TclStackAlloc(interp, nspace * sizeof(int)); - char buf[5] = ""; + char buf[TCL_UTF_MAX + 1] = ""; Tcl_Obj *errorMsg; /* Place to build an error messages. Note that * these are messy operations because we do * not want to use the formatting engine; |