projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4502bb1
)
dd: remove FIXME comment which is fixed now. No code changes
author
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 20 Aug 2013 10:27:19 +0000
(12:27 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 20 Aug 2013 10:27:19 +0000
(12:27 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/dd.c
patch
|
blob
|
history
diff --git
a/coreutils/dd.c
b/coreutils/dd.c
index
bbd117b
..
53c3bdc
100644
(file)
--- 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));