summaryrefslogtreecommitdiff
path: root/Build/source/texk/seetexk/dviconcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/seetexk/dviconcat.c')
-rw-r--r--Build/source/texk/seetexk/dviconcat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/seetexk/dviconcat.c b/Build/source/texk/seetexk/dviconcat.c
index d776e57a3b5..dad528e4806 100644
--- a/Build/source/texk/seetexk/dviconcat.c
+++ b/Build/source/texk/seetexk/dviconcat.c
@@ -437,6 +437,8 @@ usage:
if (optind >= argc) {
if (!isatty(fileno(stdin)))
SET_BINARY(fileno(stdin));
+ else
+ goto usage;
doit("`stdin'", stdin);
}
else {
@@ -445,6 +447,8 @@ usage:
if (*s == '-' && s[1] == 0) {
if (!isatty(fileno(stdin)))
SET_BINARY(fileno(stdin));
+ else
+ goto usage;
doit("`stdin'", stdin);
}
else if ((f = fopen(s, FOPEN_RBIN_MODE)) == NULL) {