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

Diff for /mandoc/man.c between version 1.110 and 1.112

version 1.110, 2011/07/27 12:43:02 version 1.112, 2011/10/06 22:29:12
Line 322  man_word_alloc(struct man *m, int line, int pos, const
Line 322  man_word_alloc(struct man *m, int line, int pos, const
         struct man_node *n;          struct man_node *n;
   
         n = man_node_alloc(m, line, pos, MAN_TEXT, MAN_MAX);          n = man_node_alloc(m, line, pos, MAN_TEXT, MAN_MAX);
         n->string = mandoc_strdup(word);          n->string = roff_strdup(m->roff, word);
   
         if ( ! man_node_append(m, n))          if ( ! man_node_append(m, n))
                 return(0);                  return(0);
Line 647  man_node_unlink(struct man *m, struct man_node *n)
Line 647  man_node_unlink(struct man *m, struct man_node *n)
   
         if (m && m->first == n)          if (m && m->first == n)
                 m->first = NULL;                  m->first = NULL;
   }
   
   const struct mparse *
   man_mparse(const struct man *m)
   {
   
           assert(m && m->parse);
           return(m->parse);
 }  }

Legend:
Removed from v.1.110  
changed lines
  Added in v.1.112

CVSweb