[BACK]Return to mdocml.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/mdocml.c between version 1.11 and 1.12

version 1.11, 2008/11/25 12:14:02 version 1.12, 2008/11/26 22:27:07
Line 184  begin_bufs(const struct md_args *args, 
Line 184  begin_bufs(const struct md_args *args, 
         if (-1 == fstat(in->fd, &stin)) {          if (-1 == fstat(in->fd, &stin)) {
                 warn("%s", in->name);                  warn("%s", in->name);
                 return(1);                  return(1);
         } else if (0 == stin.st_size) {          } else if (STDIN_FILENO != in->fd && 0 == stin.st_size) {
                 warnx("%s: empty file", in->name);                  warnx("%s: empty file", in->name);
                 return(1);                  return(1);
         } else if (-1 == fstat(out->fd, &stout)) {          } else if (-1 == fstat(out->fd, &stout)) {

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

CVSweb