Artifacts Associated With Ticket a3c3508599
Ticket change [65d058459f] (rid 143056) by tgl on 2015-09-16 17:22:03:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I was just going through deltas between Tcl's regexp code and Postgres' version of the code, and I found what appears to be a typo in your version of the fix for the color-overflow problem. In newcolor(), regc_color.c line 262 in 8.6.4, you have: if (n < MAX_COLOR + 1) { n = MAX_COLOR + 1; } We have that test as "if (n > MAX_COLOR + 1)" which I think is correct: the point is to limit the value of n to MAX_COLOR+1, not to force it up to that instantly. The effect of this is just some inefficiency, ie colormaps will bloat to 32K entries as soon as they exceed NINLINECDS, but still it's a bug. - foundin initialized to: "8.6.4"
- is_private initialized to: "0"
- login: "tgl"
- priority initialized to: "5 Medium"
- private_contact initialized to: "26864b65f1c6ce8bda86f87ed9c554e19ac0390d"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "tgl"
- subsystem initialized to: "43. Regexp"
- title initialized to: "backwards test in newcolor()"
- type initialized to: "Bug"
Ticket change [d79856ab7f] (rid 143078) by dgp on 2015-09-21 17:29:49:
- icomment:
Fixed on tgl-pg-re branch.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [c31b9e6ade] (rid 143087) by dgp on 2015-09-21 18:52:58:
- assignee changed to: "dgp"
- closedate changed to: "2457287.28678281"
- closer changed to: "dgp"
- icomment:
Fixed for 8.5.19 and 8.6.5
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"