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

Diff for /mandoc/Attic/mdocml.c between version 1.6 and 1.8

version 1.6, 2008/11/23 11:05:25 version 1.8, 2008/11/23 22:30:53
Line 72  main(int argc, char *argv[])
Line 72  main(int argc, char *argv[])
                 in = *argv++;                  in = *argv++;
   
         args.type = MD_HTML4_STRICT;          args.type = MD_HTML4_STRICT;
           args.dbg = MD_DBG_TREE;
   
         return(begin_io(&args, out ? out : "-", in ? in : "-"));          return(begin_io(&args, out ? out : "-", in ? in : "-"));
 }  }
Line 165  begin_bufs(const struct md_args *args, 
Line 166  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);
           } else if (0 == stin.st_size) {
                   warnx("%s: empty file", in->name);
                 return(1);                  return(1);
         } else if (-1 == fstat(out->fd, &stout)) {          } else if (-1 == fstat(out->fd, &stout)) {
                 warn("%s", out->name);                  warn("%s", out->name);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.8

CVSweb