diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-27 14:20:47 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-27 14:20:47 +0400 |
commit | 4daad9004d8f07991516970a1cbd77756fae7041 (patch) | |
tree | f1a17e4b168ef8fdf8af92ac5ce8deba89d38db2 /coreutils/uuencode.c | |
parent | 1acdc89e992eb3f0548ff48ba586b31c9a0ae232 (diff) |
introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).
Diffstat (limited to 'coreutils/uuencode.c')
-rw-r--r-- | coreutils/uuencode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c index 56d68820e..17def8d9a 100644 --- a/coreutils/uuencode.c +++ b/coreutils/uuencode.c @@ -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)); |