diff options
Diffstat (limited to 'mdocml.c')
-rw-r--r-- | mdocml.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -184,7 +184,7 @@ begin_bufs(const struct md_args *args, if (-1 == fstat(in->fd, &stin)) { warn("%s", in->name); return(1); - } else if (0 == stin.st_size) { + } else if (STDIN_FILENO != in->fd && 0 == stin.st_size) { warnx("%s: empty file", in->name); return(1); } else if (-1 == fstat(out->fd, &stout)) { |