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

Diff for /mandoc/mdoc.c between version 1.50 and 1.51

version 1.50, 2009/03/02 17:14:46 version 1.51, 2009/03/05 13:12:12
Line 220  mdoc_parseln(struct mdoc *mdoc, int line, char *buf)
Line 220  mdoc_parseln(struct mdoc *mdoc, int line, char *buf)
                         return(1);                          return(1);
   
         i = 1;          i = 1;
         while (buf[i] && ! isspace((int)buf[i]) && i < (int)sizeof(tmp))          while (buf[i] && ! isspace((u_char)buf[i]) &&
                           i < (int)sizeof(tmp))
                 i++;                  i++;
   
         if (i == (int)sizeof(tmp)) {          if (i == (int)sizeof(tmp)) {
Line 241  mdoc_parseln(struct mdoc *mdoc, int line, char *buf)
Line 242  mdoc_parseln(struct mdoc *mdoc, int line, char *buf)
                 return(mdoc_perr(mdoc, line, 1, "unknown macro"));                  return(mdoc_perr(mdoc, line, 1, "unknown macro"));
         }          }
   
         while (buf[i] && isspace((int)buf[i]))          while (buf[i] && isspace((u_char)buf[i]))
                 i++;                  i++;
   
         if ( ! mdoc_macro(mdoc, c, line, 1, &i, buf)) {          if ( ! mdoc_macro(mdoc, c, line, 1, &i, buf)) {

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

CVSweb