[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.16 and 1.17

version 1.16, 2015/11/09 16:39:13 version 1.17, 2016/01/12 17:48:04
Line 46 
Line 46 
 struct tag {  struct tag {
         struct tag *next, *prev; /* List links */          struct tag *next, *prev; /* List links */
         char *tag_file;         /* Source file containing the tag */          char *tag_file;         /* Source file containing the tag */
         LINENUM tag_linenum;    /* Appropriate line number in source file */          off_t tag_linenum;      /* Appropriate line number in source file */
         char *tag_pattern;      /* Pattern used to find the tag */          char *tag_pattern;      /* Pattern used to find the tag */
         int tag_endline;        /* True if the pattern includes '$' */          int tag_endline;        /* True if the pattern includes '$' */
 };  };
Line 87 
Line 87 
  * Create a new tag entry.   * Create a new tag entry.
  */   */
 static struct tag *  static struct tag *
 maketagent(char *file, LINENUM linenum, char *pattern, int endline)  maketagent(char *file, off_t linenum, char *pattern, int endline)
 {  {
         struct tag *tp;          struct tag *tp;
   
Line 194 
Line 194 
         char *p;          char *p;
         FILE *f;          FILE *f;
         int taglen;          int taglen;
         LINENUM taglinenum;          off_t taglinenum;
         char *tagfile;          char *tagfile;
         char *tagpattern;          char *tagpattern;
         int tagendline;          int tagendline;
Line 317 
Line 317 
 ctagsearch(void)  ctagsearch(void)
 {  {
         off_t pos, linepos;          off_t pos, linepos;
         LINENUM linenum;          off_t linenum;
         int len;          int len;
         char *line;          char *line;
   

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17