/[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.115 by h-iwamoto, Sat Jun 25 14:42:51 2005 UTC revision 1.116 by h-iwamoto, Sun Jun 26 04:57:30 2005 UTC
# Line 299  main(argc, argv) Line 299  main(argc, argv)
299                   *                              v                   *                              v
300                   * <a href='http://xxx/global/cgi-bin/global.cgi?pattern=README&amp;type=source#9'>main</a>\n                   * <a href='http://xxx/global/cgi-bin/global.cgi?pattern=README&amp;type=source#9'>main</a>\n
301                   */                   */
302                  if (gpath_open(".", 0, 0) < 0)                  if (gpath_open(".", 0) < 0)
303                          die("GPATH not found.");                          die("GPATH not found.");
304                  while (strbuf_fgets(ib, stdin, 0) != NULL) {                  while (strbuf_fgets(ib, stdin, 0) != NULL) {
305                          p = strbuf_value(ib);                          p = strbuf_value(ib);
# Line 694  incremental(dbpath, root) Line 694  incremental(dbpath, root)
694                  die("stat failed '%s'.", path);                  die("stat failed '%s'.", path);
695          gtags_mtime = statp.st_mtime;          gtags_mtime = statp.st_mtime;
696    
697          if (gpath_open(dbpath, 0, 0) < 0)          if (gpath_open(dbpath, 0) < 0)
698                  die("GPATH not found.");                  die("GPATH not found.");
699          /*          /*
700           * make add list and update list.           * make add list and update list.
# Line 755  incremental(dbpath, root) Line 755  incremental(dbpath, root)
755                  const char *end = start + strbuf_getlen(deletelist);                  const char *end = start + strbuf_getlen(deletelist);
756                  const char *p;                  const char *p;
757    
758                  gpath_open(dbpath, 2, 0);                  gpath_open(dbpath, 2);
759                  for (p = start; p < end; p += strlen(p) + 1) {                  for (p = start; p < end; p += strlen(p) + 1) {
760                          if (exitflag)                          if (exitflag)
761                                  break;                                  break;

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.116

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