Changes On Branch bug-96c3f3b47d1
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch bug-96c3f3b47d1 Excluding Merge-Ins

This is equivalent to a diff from 5c78fe98ba to 62e40d8270

2017-02-27
14:51
ParseTokens failed to fully respect its numBytes argument. check-in: 62ce873c7c user: dgp tags: core-8-5-branch
2017-02-13
12:24
Tcl_GetWideIntFromObj must fail for values between WIDE_MAX+1 and UWIDE_MAX (bug [96c3f3b47d1]) Leaf check-in: 62e40d8270 user: aspect tags: bug-96c3f3b47d1
2017-02-12
12:17
make [info commands] follow the namespace path from :: (bug [58b96f6744]) Leaf check-in: a756018479 user: aspect tags: bug-58b96f6744
2017-02-11
07:21
Apply ferrieux' shimmer-alex.patch from ticket [738900] check-in: a238a2fafc user: aspect tags: aspect-shimmer-singleton-lists
2017-02-01
14:53
Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ first-argument NaN shortcut is to... check-in: 391ad1092f user: jan.nijtmans tags: core-8-6-branch
14:42
Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ first-argument NaN shortcut is to... check-in: 5c78fe98ba user: jan.nijtmans tags: core-8-5-branch
2017-01-20
16:18
Fix [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e] follow-up: Make Tcl_LinkVar toleranto to t... check-in: 2579d7ff89 user: jan.nijtmans tags: core-8-5-branch

Changes to generic/tclObj.c.
3085
3086
3087
3088
3089
3090
3091



3092
3093
3094
3095
3096
3097







3098
3099
3100
3101
3102
3103
3104
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094






3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108







+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+







		Tcl_WideInt scratch;
		unsigned char *bytes = (unsigned char *) &scratch;

		if (mp_to_unsigned_bin_n(&big, bytes, &numBytes) == MP_OKAY) {
		    while (numBytes-- > 0) {
			value = (value << CHAR_BIT) | *bytes++;
		    }
		    if ( (!big.sign) && ((Tcl_WideInt)value < 0) ) {
			/* signed overflow - fall through to produce an error */
		    } else {
		    if (big.sign) {
			*wideIntPtr = - (Tcl_WideInt) value;
		    } else {
			*wideIntPtr = (Tcl_WideInt) value;
		    }
		    return TCL_OK;
			if (big.sign) {
			    *wideIntPtr = - (Tcl_WideInt) value;
			} else {
			    *wideIntPtr = (Tcl_WideInt) value;
			}
			return TCL_OK;
		    }
		}
	    }
	    if (interp != NULL) {
		const char *s = "integer value too large to represent";
		Tcl_Obj* msg = Tcl_NewStringObj(s, -1);

		Tcl_SetObjResult(interp, msg);