tr: fix overflow in expand and complement, fix stop after [:class:],
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 2 Mar 2009 12:05:57 +0000 (12:05 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 2 Mar 2009 12:05:57 +0000 (12:05 -0000)
commit491d6e3b568967138d3e34c013e925f7b4bf3f08
treea7ae68a75d054aa1612ee06e5870cc7914cd2ac7
parent1bfcc8b08e511be7228f93079f669d95392ef184
tr: fix overflow in expand and complement, fix stop after [:class:],
 fix order of [:xdigit:], make tr require one param at least.

function                                             old     new   delta
expand                                              1743    1849    +106
tr_main                                              463     518     +55
complement                                            72      75      +3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 164/0)             Total: 164 bytes
coreutils/tr.c