diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-20 12:59:42 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-20 12:59:42 (GMT) |
commit | d6150b3cd37b9d55e16ba6f2c7bd473fb9e2b5bd (patch) | |
tree | 54d2dca1290f2e071defa2a8bea87538cc8f666b /generic/tclUtil.c | |
parent | d5d003595aa513f32c470e788b13fa3dff82cdca (diff) | |
parent | bb70971aa9566c6c29ff78c11d1b96632accea16 (diff) | |
download | tcl-d6150b3cd37b9d55e16ba6f2c7bd473fb9e2b5bd.zip tcl-d6150b3cd37b9d55e16ba6f2c7bd473fb9e2b5bd.tar.gz tcl-d6150b3cd37b9d55e16ba6f2c7bd473fb9e2b5bd.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r-- | generic/tclUtil.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index bf00e91..d07520c 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.c @@ -4055,11 +4055,11 @@ GetEndOffsetFromObj( * collection, and can be encoded as after. The end-relative * expressions that indicate an index less than or equal to end * are encoded relative to the value TCL_INDEX_END (-2). The - * index "end" is encoded as -2, down to the index "end-0x7ffffffe" + * index "end" is encoded as -2, down to the index "end-0x7FFFFFFE" * which is encoded as INT_MIN. Since the largest index into a - * string possible in Tcl 8 is 0x7ffffffe, the interpretation of - * "end-0x7ffffffe" for that largest string would be 0. Thus, - * if the tokens "end-0x7fffffff" or "end+-0x80000000" are parsed, + * string possible in Tcl 8 is 0x7FFFFFFE, the interpretation of + * "end-0x7FFFFFFE" for that largest string would be 0. Thus, + * if the tokens "end-0x7FFFFFFF" or "end+-0x80000000" are parsed, * they can be encoded with the before value. * * These details will require re-examination whenever string and |