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

Diff for /pod2mdoc/pod2mdoc.c between version 1.20 and 1.21

version 1.20, 2014/04/03 11:34:30 version 1.21, 2014/04/03 11:55:01
Line 179  formatescape(const char *buf, size_t *start, size_t en
Line 179  formatescape(const char *buf, size_t *start, size_t en
 static int  static int
 trylink(const char *buf, size_t *start, size_t end, size_t dsz)  trylink(const char *buf, size_t *start, size_t end, size_t dsz)
 {  {
         size_t           linkstart, realend, linkend, i, j, textsz;          size_t           linkstart, realend, linkend,
                            i, j, textsz, stack;
         const char      *text;          const char      *text;
   
         /*          /*
Line 187  trylink(const char *buf, size_t *start, size_t end, si
Line 188  trylink(const char *buf, size_t *start, size_t end, si
          * This function is more or less replicated in the formatcode()           * This function is more or less replicated in the formatcode()
          * for null or index formatting codes.           * for null or index formatting codes.
          */           */
           stack = 0;
         for (linkstart = realend = *start; realend < end; realend++) {          for (linkstart = realend = *start; realend < end; realend++) {
                 if ('>' != buf[realend])                  if ('>' != buf[realend])
                         continue;                          continue;

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

CVSweb