dd: remove FIXME comment which is fixed now. No code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
4502bb1f21
commit
90e9cfd218
@ -403,12 +403,9 @@ int dd_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
(unsigned long)prev_read_size);
|
(unsigned long)prev_read_size);
|
||||||
prev_read_size = n;
|
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
|
* echo -n "qwe" | dd conv=swab
|
||||||
* prints "wqe".
|
* prints "wqe".
|
||||||
* The code does not handle correctly odd-sized reads
|
|
||||||
* in the *middle* of the input. FIXME.
|
|
||||||
*/
|
*/
|
||||||
p16 = (void*) ibuf;
|
p16 = (void*) ibuf;
|
||||||
end = (void*) (ibuf + (n & ~(ssize_t)1));
|
end = (void*) (ibuf + (n & ~(ssize_t)1));
|
||||||
|
Loading…
Reference in New Issue
Block a user