diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-27 10:20:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-27 10:20:47 +0000 |
commit | 4daad9004d8f07991516970a1cbd77756fae7041 (patch) | |
tree | f1a17e4b168ef8fdf8af92ac5ce8deba89d38db2 /archival | |
parent | 1acdc89e992eb3f0548ff48ba586b31c9a0ae232 (diff) | |
download | busybox-w32-4daad9004d8f07991516970a1cbd77756fae7041.tar.gz busybox-w32-4daad9004d8f07991516970a1cbd77756fae7041.tar.bz2 busybox-w32-4daad9004d8f07991516970a1cbd77756fae7041.zip |
introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).
Diffstat (limited to 'archival')
-rw-r--r-- | archival/gzip.c | 2 | ||||
-rw-r--r-- | archival/libunarchive/header_verbose_list.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index bda4ae102..cabcc5ecb 100644 --- a/archival/gzip.c +++ b/archival/gzip.c | |||
@@ -686,7 +686,7 @@ static void check_match(IPos start, IPos match, int length) | |||
686 | if (verbose > 1) { | 686 | if (verbose > 1) { |
687 | bb_error_msg("\\[%d,%d]", start - match, length); | 687 | bb_error_msg("\\[%d,%d]", start - match, length); |
688 | do { | 688 | do { |
689 | putc(G1.window[start++], stderr); | 689 | fputc(G1.window[start++], stderr); |
690 | } while (--length != 0); | 690 | } while (--length != 0); |
691 | } | 691 | } |
692 | } | 692 | } |
diff --git a/archival/libunarchive/header_verbose_list.c b/archival/libunarchive/header_verbose_list.c index f3b0d8c5c..b9ac3c499 100644 --- a/archival/libunarchive/header_verbose_list.c +++ b/archival/libunarchive/header_verbose_list.c | |||
@@ -26,6 +26,5 @@ void header_verbose_list(const file_header_t *file_header) | |||
26 | if (file_header->link_target) { | 26 | if (file_header->link_target) { |
27 | printf(" -> %s", file_header->link_target); | 27 | printf(" -> %s", file_header->link_target); |
28 | } | 28 | } |
29 | /* putchar isnt used anywhere else i dont think */ | 29 | bb_putchar('\n'); |
30 | puts(""); | ||
31 | } | 30 | } |