summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-06-29 22:24:26 +0000
committerJim Meyering <jim@meyering.net>1997-06-29 22:24:26 +0000
commit6ad0d51107d0ead8e5510b3e26c89efa06c20ad7 (patch)
tree63806fa665812bc84e58235cbae6bd21b7a2cf5a /src
parentbc8c5033e3c3fef9088a73fbde904fda11380638 (diff)
downloadcoreutils-6ad0d51107d0ead8e5510b3e26c89efa06c20ad7.tar.xz
(copy): Add FIXME comment.
Diffstat (limited to 'src')
-rw-r--r--src/dd.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/dd.c b/src/dd.c
index 0aa1ffc8e..c04369a8c 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -552,7 +552,16 @@ copy (void)
skip (input_fd, input_file, skip_records, input_blocksize, ibuf);
if (seek_record > 0)
- skip (output_fd, output_file, seek_record, output_blocksize, obuf);
+ {
+ /* FIXME: this loses for
+ % ./dd if=dd seek=1 |:
+ ./dd: a1 standard output: Bad file number
+ 0+0 records in
+ 0+0 records out
+ */
+
+ skip (output_fd, output_file, seek_record, output_blocksize, obuf);
+ }
if (max_records == 0)
quit (exit_status);