diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mkid.c | 11 | ||||
-rw-r--r-- | src/xtokid.c | 11 |
2 files changed, 0 insertions, 22 deletions
@@ -352,17 +352,6 @@ main (int argc, char **argv) { struct file_link *flink; - if (files_from && strequ(files_from, "-") && strequ(files[i], "-")) - { - ok = false; - /* Give a better diagnostic in an unusual case: - printf - | wc --files0-from=- */ - error (0, 0, _("when reading file names from stdin, " - "no file name of %s allowed"), - quote ("-")); - continue; - } - /* Diagnose a zero-length file name. When it's one among many, knowing the record number may help. */ if (files[i][0] == '\0') diff --git a/src/xtokid.c b/src/xtokid.c index 6311827..1a11a76 100644 --- a/src/xtokid.c +++ b/src/xtokid.c @@ -232,17 +232,6 @@ main (int argc, char **argv) { struct file_link *flink; - if (files_from && strequ(files_from, "-") && strequ(files[i], "-")) - { - ok = false; - /* Give a better diagnostic in an unusual case: - printf - | wc --files0-from=- */ - error (0, 0, _("when reading file names from stdin, " - "no file name of %s allowed"), - quote ("-")); - continue; - } - /* Diagnose a zero-length file name. When it's one among many, knowing the record number may help. */ if (files[i][0] == '\0') |