diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-08-20 12:27:19 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-08-20 12:27:19 +0200 |
| commit | 90e9cfd2183a6ba547eb0e74081e175e8a2da75f (patch) | |
| tree | 2c1e3a1452e582b294c669c453ddf5c5a26d31b7 | |
| parent | 4502bb1f21d39a74cc77e92935ef1767c2f9bf14 (diff) | |
| download | busybox-w32-90e9cfd2183a6ba547eb0e74081e175e8a2da75f.tar.gz busybox-w32-90e9cfd2183a6ba547eb0e74081e175e8a2da75f.tar.bz2 busybox-w32-90e9cfd2183a6ba547eb0e74081e175e8a2da75f.zip | |
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.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index bbd117b77..53c3bdc81 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c | |||
| @@ -403,12 +403,9 @@ int dd_main(int argc UNUSED_PARAM, char **argv) | |||
| 403 | (unsigned long)prev_read_size); | 403 | (unsigned long)prev_read_size); |
| 404 | prev_read_size = n; | 404 | prev_read_size = n; |
| 405 | 405 | ||
| 406 | /* | 406 | /* If n is odd, last byte is not swapped: |
| 407 | * If n is odd, last byte is not swapped: | ||
| 408 | * echo -n "qwe" | dd conv=swab | 407 | * echo -n "qwe" | dd conv=swab |
| 409 | * prints "wqe". | 408 | * prints "wqe". |
| 410 | * The code does not handle correctly odd-sized reads | ||
| 411 | * in the *middle* of the input. FIXME. | ||
| 412 | */ | 409 | */ |
| 413 | p16 = (void*) ibuf; | 410 | p16 = (void*) ibuf; |
| 414 | end = (void*) (ibuf + (n & ~(ssize_t)1)); | 411 | end = (void*) (ibuf + (n & ~(ssize_t)1)); |
