summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2013-08-20 12:27:19 +0200
committerDenys Vlasenko2013-08-20 12:27:19 +0200
commit90e9cfd2183a6ba547eb0e74081e175e8a2da75f (patch)
tree2c1e3a1452e582b294c669c453ddf5c5a26d31b7
parent4502bb1f21d39a74cc77e92935ef1767c2f9bf14 (diff)
downloadbusybox-90e9cfd2183a6ba547eb0e74081e175e8a2da75f.zip
busybox-90e9cfd2183a6ba547eb0e74081e175e8a2da75f.tar.gz
dd: remove FIXME comment which is fixed now. No code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--coreutils/dd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index bbd117b..53c3bdc 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -403,12 +403,9 @@ int dd_main(int argc UNUSED_PARAM, char **argv)
(unsigned long)prev_read_size);
prev_read_size = n;
- /*
- * If n is odd, last byte is not swapped:
+ /* If n is odd, last byte is not swapped:
* echo -n "qwe" | dd conv=swab
* prints "wqe".
- * The code does not handle correctly odd-sized reads
- * in the *middle* of the input. FIXME.
*/
p16 = (void*) ibuf;
end = (void*) (ibuf + (n & ~(ssize_t)1));