introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).
This commit is contained in:
@@ -48,9 +48,9 @@ int uuencode_main(int argc, char **argv)
|
||||
bb_perror_msg_and_die(bb_msg_read_error);
|
||||
/* Encode the buffer we just read in */
|
||||
bb_uuencode(dst_buf, src_buf, size, tbl);
|
||||
putchar('\n');
|
||||
bb_putchar('\n');
|
||||
if (tbl == bb_uuenc_tbl_std) {
|
||||
putchar(tbl[size]);
|
||||
bb_putchar(tbl[size]);
|
||||
}
|
||||
fflush(stdout);
|
||||
xwrite(STDOUT_FILENO, dst_buf, 4 * ((size + 2) / 3));
|
||||
|
Reference in New Issue
Block a user