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

Diff of /global/gtags/gtags.c

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

revision 1.136 by h-iwamoto, Sun Aug 28 04:04:54 2005 UTC revision 1.137 by shigio, Sun Aug 28 11:05:21 2005 UTC
# Line 837  updatetags(dbpath, root, deleteset, addl Line 837  updatetags(dbpath, root, deleteset, addl
837          /*          /*
838           * determine the maximum length of the list of paths.           * determine the maximum length of the list of paths.
839           */           */
840          path_list_max = exec_line_limit();          path_list_max = exec_line_limit(strbuf_getlen(comline));
         path_list_max -= strbuf_getlen(comline);  
         path_list_max -= 40;  
         if (path_list_max < 0)  
                 path_list_max = 0;  
841    
842          gtop = gtags_open(dbpath, root, db, GTAGS_MODIFY, 0);          gtop = gtags_open(dbpath, root, db, GTAGS_MODIFY, 0);
843          if (vflag) {          if (vflag) {
# Line 954  createtags(dbpath, root, db) Line 950  createtags(dbpath, root, db)
950          /*          /*
951           * determine the maximum length of the list of paths.           * determine the maximum length of the list of paths.
952           */           */
953          path_list_max = exec_line_limit();          path_list_max = exec_line_limit(strbuf_getlen(comline));
         path_list_max -= strbuf_getlen(comline);  
         path_list_max -= 40;  
         if (path_list_max < 0)  
                 path_list_max = 0;  
954    
955          flags = 0;          flags = 0;
956          /*          /*

Legend:
Removed from v.1.136  
changed lines
  Added in v.1.137

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