Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Fix for bug 119417 part (A), alternative

Closed / Accepted402496ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
andreas_kupriesplain2000-11-24 15:33:11
This patch is an alternative to 102470. Both fix bug 119417, but this one values speed over memory. Instead of checking each incoming character it uses a complete mapping table to compute the conversion from hex digits to integers. Invalid characters get the value 0, thus causing the generation of invalid integers (but not out of range), but the systems won't crash, just display bogus characters. An external tool to check an encoding file thoroughly should complement this code.
andreas_kupriesplain2000-12-07 14:11:04
I will merge this patch into the core today. Patch #102470 will be rejected.
hobbsplain2000-12-08 07:07:25
I just wanted to note the token approval of this patch over 102470.
andreas_kupriesplain2000-12-11 19:38:08
The patch is accepted and integrated.
andreas_kupries Closed ticket [402496ffff]. [History diff]2000-12-11 19:39:07
dgp Ticket [402496ffff]: 4 changes [History diff]2001-04-06 02:52:02
Log in (anonymous is fine) to add a comment.

Attachments: