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

Diff for /mandoc/tag.c between version 1.20 and 1.21

version 1.20, 2018/10/23 20:42:37 version 1.21, 2018/11/22 11:30:23
Line 18 
Line 18 
   
 #include <sys/types.h>  #include <sys/types.h>
   
   #if HAVE_ERR
   #include <err.h>
   #endif
 #include <limits.h>  #include <limits.h>
 #include <signal.h>  #include <signal.h>
 #include <stddef.h>  #include <stddef.h>
Line 216  tag_write(void)
Line 219  tag_write(void)
   
         if (tag_files.tfd <= 0)          if (tag_files.tfd <= 0)
                 return;                  return;
           if (tag_files.tagname != NULL && ohash_find(&tag_data,
               ohash_qlookup(&tag_data, tag_files.tagname)) == NULL) {
                   warnx("%s: no such tag", tag_files.tagname);
                   tag_files.tagname = NULL;
           }
         stream = fdopen(tag_files.tfd, "w");          stream = fdopen(tag_files.tfd, "w");
         entry = ohash_first(&tag_data, &slot);          entry = ohash_first(&tag_data, &slot);
         while (entry != NULL) {          while (entry != NULL) {

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

CVSweb