aboutsummaryrefslogtreecommitdiff
path: root/coreutils/dd.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
commit6ca409e0e4c198fe3081346eebbae3f068fe605a (patch)
tree060cb05d99220a1eda399194d1209c269f0e8cd8 /coreutils/dd.c
parent4185548984357df91311f30c8e43d95f33922576 (diff)
downloadbusybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.bz2
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.zip
trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
Diffstat (limited to 'coreutils/dd.c')
-rw-r--r--coreutils/dd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index 3b4b1d785..b17bb5969 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -46,7 +46,7 @@ static void dd_output_status(int ATTRIBUTE_UNUSED cur_signal)
46} 46}
47 47
48static ssize_t full_write_or_warn(int fd, const void *buf, size_t len, 48static ssize_t full_write_or_warn(int fd, const void *buf, size_t len,
49 const char * const filename) 49 const char *const filename)
50{ 50{
51 ssize_t n = full_write(fd, buf, len); 51 ssize_t n = full_write(fd, buf, len);
52 if (n < 0) 52 if (n < 0)
@@ -83,7 +83,7 @@ int dd_main(int argc, char **argv)
83 FLAG_TWOBUFS = 1 << 3, 83 FLAG_TWOBUFS = 1 << 3,
84 FLAG_COUNT = 1 << 4, 84 FLAG_COUNT = 1 << 4,
85 }; 85 };
86 static const char keywords[] = 86 static const char keywords[] ALIGN1 =
87 "bs=\0""count=\0""seek=\0""skip=\0""if=\0""of=\0" 87 "bs=\0""count=\0""seek=\0""skip=\0""if=\0""of=\0"
88#if ENABLE_FEATURE_DD_IBS_OBS 88#if ENABLE_FEATURE_DD_IBS_OBS
89 "ibs=\0""obs=\0""conv=\0""notrunc\0""sync\0""noerror\0" 89 "ibs=\0""obs=\0""conv=\0""notrunc\0""sync\0""noerror\0"