/[global]/global/htags/htags.c
ViewVC logotype

Diff of /global/htags/htags.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.71 by shigio, Tue Oct 4 07:59:04 2005 UTC revision 1.72 by h-iwamoto, Mon Oct 24 15:28:07 2005 UTC
# Line 776  makehtml(int total) Line 776  makehtml(int total)
776    
777          /*          /*
778           * Calculate the limit of path list.           * Calculate the limit of path list.
779           */           */
780          {          path_list_max = exec_line_limit(strlen("global -fnr"));
                 int db;  
                 int max = 0;  
                 /*  
                  * Get the longest command line length except path list.  
                  */  
                 for (db = GTAGS; db < GTAGLIM; db++) {  
                         if (!symbol && db == GSYMS)  
                                 continue;  
                         strbuf_reset(sb);  
                         if (!getconfs(dbname(db), sb))  
                                 die("cannot get parser for %s.", dbname(db));  
                         if (strbuf_getlen(sb) > max)  
                                 max = strbuf_getlen(sb);  
                 }  
                 path_list_max = exec_line_limit(max);  
                 strbuf_reset(sb);  
         }  
781          if (other_files && !dynamic)          if (other_files && !dynamic)
782                  snprintf(command, sizeof(command), "%s --other | gnusort -t / -k 2", findcom);                  snprintf(command, sizeof(command), "%s --other | gnusort -t / -k 2", findcom);
783          else          else

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26