libbb: merge mail and uudecode's base64 decoders
authorDenys Vlasenko <dvlasenk@redhat.com>
Thu, 16 Sep 2010 15:51:13 +0000 (17:51 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Thu, 16 Sep 2010 15:51:13 +0000 (17:51 +0200)
commit9fe98f701d40835db32baa12c94b661d40231ea4
tree781c9c71519f3eb79082eac54e0cc545e16b2fd1
parent52e460b7440ed5b85e4125a4eccf1e665d92c0ff
libbb: merge mail and uudecode's base64 decoders

function                                             old     new   delta
read_base64                                            -     378    +378
uudecode_main                                        306     315      +9
parse                                                953     958      +5
read_stduu                                           250     254      +4
base64_main                                          217     219      +2
read_base64                                          358       -    -358
decode_base64                                        371       -    -371
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 4/0 up/down: 398/-729)         Total: -331 bytes

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
coreutils/uudecode.c
include/libbb.h
libbb/base64.c [new file with mode: 0644]
mailutils/mail.c
mailutils/mail.h
mailutils/mime.c