diff options
-rw-r--r-- | coreutils/dd.c | 5 |
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)); |