Artifacts Associated With Ticket a4cb3f06c4
Ticket change [6fe368dbeb] (rid 142032) by sbron on 2015-06-15 19:58:46:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Using end-n as second index for the lreplace command has been broken by 32b6159246574b9480f8. Example: [lreplace {0 1 2 3 4} 0 end-2] produces: 0 1 2 3 4. Should have been: 3 4 - foundin initialized to: "8.6.4"
- is_private initialized to: "0"
- login: "sbron"
- priority initialized to: "5 Medium"
- private_contact initialized to: "e6e0da3db38bd7f7aaef501760314ad0221f3e23"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "sbron"
- subsystem initialized to: "17. Commands I-L"
- title initialized to:
Using end-n as second index on lreplace broken in 8.6.4
- type initialized to: "Bug"
Add attachment "aspect-lreplace-refix.bundle" [fc8c57be1a] (rid 142033) by anonymous on 2015-06-16 00:45:17.
Ticket change [a23fc6be7c] (rid 142034) by anonymous on 2015-06-16 00:47:35:
- icomment:
Oops - error was indeed introduced in [32b615924]. The attached fossil bundle adds the reported case as a test and fixes it. Corner cases involving end-1, end etc should be exercised more carefully to ensure I haven't missed any other bugs!
- login: "anonymous"
- mimetype: "text/x-fossil-wiki"
- username: "aspect"
- icomment:
Add attachment "aspect-lreplace-refix-2.bundle" [f3bbec9ac4] (rid 142035) by anonymous on 2015-06-16 03:35:01.
Ticket change [ff9c348327] (rid 142036) by anonymous on 2015-06-16 03:37:06:
- icomment:
The attached *-2.bundle replaces the previous bundle, and adds: * more tests, trying to get better edge case coverage for future * a minor documentation tweak The tests should be reviewed to ensure I'm testing (a) for correct behaviour and (b) appropriate cases that mishandled indexing could be prone to fail on.
- login: "anonymous"
- mimetype: "text/plain"
- username: "aspect"
- icomment:
Ticket change [ec2b1fd17e] (rid 142072) by dgp on 2015-06-18 17:34:38:
- assignee changed to: "dgp"
- closedate changed to: "2457192.23238435"
- closer changed to: "dgp"
- icomment: "Patch merged to trunk."
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"