|
2004-05-30
| ||
| 19:44 | • Closed ticket [728838ffff]: Can't increment by wide amounts plus 6 other... artifact: 13d396a7f9 user: dkf | |
|
2004-01-20
| ||
| 07:03 | • Ticket [728838ffff]: 4 changes artifact: b48e87dc14 user: dgp | |
| 04:44 | • Ticket [728838ffff]: 2 changes artifact: 0bee3522ee user: hobbs | |
| 03:16 | • Ticket [728838ffff]: 5 changes artifact: 0e8f9aa455 user: dgp | |
| 03:16 | • Open ticket [728838ffff]. artifact: 02ece13408 user: dgp | |
|
2003-04-28
| ||
| 19:39 | • Ticket [728838ffff]: 4 changes artifact: 0730d69ec7 user: dkf | |
| 19:39 | • Add attachment incr.patch to ticket [728838ffff] artifact: 51c19a7a81 user: dkf | |
| 19:39 | • Closed ticket [728838ffff]: Can't increment by wide amounts plus 8 other... artifact: 8f6369710f user: dkf | |
| 11:06 | • New ticket [728838ffff]. artifact: fccb7da3bb user: dkf | |
Can't increment by wide amounts
Closed / Remind728838ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 23 years ago
Descriptionplain2003-04-28 11:06:25
You can't increment a value by a wide-int amount, which is surprising. Result should be wide if either (or both) the current variable value and the added value are wide. (The default is not wide, of course.)
dkfplain2003-04-28 19:39:42
Logged In: YES user_id=79902 I've fixed this now in the HEAD with the attached patch. Let me know if I should backport the patch (which is unfortunately rather large as I took the opportunity to tidy a few other bits of code up) to the 8.4 branch.
dkfplain2003-04-28 19:39:43
File Added - 48950: incr.patch
dgp Open ticket [728838ffff].
[History diff]2004-01-20 03:16:07
dgpplain2004-01-20 03:16:08
Logged In: YES user_id=80530 I don't think this is working in 8.4.5. % set v 2 2 % incr v 0xff00000001 3 % incr v [expr 0xff00000000] 3 re-open
hobbs Ticket [728838ffff]: 2 changes
[History diff]2004-01-20 04:44:28
dgpplain2004-01-20 07:03:35
Logged In: YES user_id=80530 my mistake. I misread the earlier comments. This bug is fixed in 8.5. A backport for 8.4 is still pending. You can re-close if you like, or leave open as a reminder about the backport.
dkfplain2004-05-30 19:44:59
Logged In: YES user_id=79902 Not backporting. It's a PITA and requires messing with the internal stubs table in a patch release.
Log in (anonymous is fine) to add a comment.
Attachments:
- incr.patch [download] added by dkf on 2003-04-28 19:39:43. [details]