diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-11 12:36:10 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-11 12:36:10 +0100 |
commit | a3aa3e309506ea96fa8f7546f6b22fa85263a934 (patch) | |
tree | cd6d4adeafec55e230e2d56499df8f0c3cbf47e1 /editors | |
parent | 4662de0511487b4da965c4b2158bae318f3d80a8 (diff) | |
download | busybox-w32-a3aa3e309506ea96fa8f7546f6b22fa85263a934.tar.gz busybox-w32-a3aa3e309506ea96fa8f7546f6b22fa85263a934.tar.bz2 busybox-w32-a3aa3e309506ea96fa8f7546f6b22fa85263a934.zip |
wget: check for close success; fix chunked; do not bother to send QUIT to ftp
Also, random fixes to use %u for unsigned quantities. -14 bytes in wget.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/cmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/cmp.c b/editors/cmp.c index 384e57c22..0cb80f21e 100644 --- a/editors/cmp.c +++ b/editors/cmp.c | |||
@@ -24,9 +24,9 @@ | |||
24 | #include "libbb.h" | 24 | #include "libbb.h" |
25 | 25 | ||
26 | static const char fmt_eof[] ALIGN1 = "cmp: EOF on %s\n"; | 26 | static const char fmt_eof[] ALIGN1 = "cmp: EOF on %s\n"; |
27 | static const char fmt_differ[] ALIGN1 = "%s %s differ: char %"OFF_FMT"d, line %d\n"; | 27 | static const char fmt_differ[] ALIGN1 = "%s %s differ: char %"OFF_FMT"u, line %u\n"; |
28 | // This fmt_l_opt uses gnu-isms. SUSv3 would be "%.0s%.0s%"OFF_FMT"d %o %o\n" | 28 | // This fmt_l_opt uses gnu-isms. SUSv3 would be "%.0s%.0s%"OFF_FMT"u %o %o\n" |
29 | static const char fmt_l_opt[] ALIGN1 = "%.0s%.0s%"OFF_FMT"d %3o %3o\n"; | 29 | static const char fmt_l_opt[] ALIGN1 = "%.0s%.0s%"OFF_FMT"u %3o %3o\n"; |
30 | 30 | ||
31 | static const char opt_chars[] ALIGN1 = "sl"; | 31 | static const char opt_chars[] ALIGN1 = "sl"; |
32 | #define CMP_OPT_s (1<<0) | 32 | #define CMP_OPT_s (1<<0) |