[BACK]Return to tags.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Diff for /src/usr.bin/less/tags.c between version 1.13 and 1.14

version 1.13, 2015/11/06 15:50:33 version 1.14, 2015/11/07 18:07:44
Line 112 
Line 112 
         struct tag *tp;          struct tag *tp;
   
         tp = ecalloc(sizeof (struct tag), 1);          tp = ecalloc(sizeof (struct tag), 1);
         tp->tag_file = save(file);          tp->tag_file = estrdup(file);
         tp->tag_linenum = linenum;          tp->tag_linenum = linenum;
         tp->tag_endline = endline;          tp->tag_endline = endline;
         if (pattern == NULL)          if (pattern == NULL)
                 tp->tag_pattern = NULL;                  tp->tag_pattern = NULL;
         else          else
                 tp->tag_pattern = save(pattern);                  tp->tag_pattern = estrdup(pattern);
         return (tp);          return (tp);
 }  }
   

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14