awk: don't append bogus data after NUL in sub(); shrink
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 3 Apr 2010 23:17:30 +0000 (01:17 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 3 Apr 2010 23:17:30 +0000 (01:17 +0200)
commitfab288cf0b31ff64a562cc496b20add822a6abbd
tree5feeeba796baf897cd5aceb90f59fc48b09c840b
parent243ddcbc76d19847d9e8022dc2f6659078f5cc20
awk: don't append bogus data after NUL in sub(); shrink

also renamed variables to more sensible names

function                                             old     new   delta
mk_re_node                                            56      49      -7
awk_sub                                              601     591     -10

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/awk.c