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

Diff of /global/htags/dupindex.c

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

revision 1.19 by h-iwamoto, Fri Aug 12 01:32:02 2005 UTC revision 1.20 by h-iwamoto, Fri Aug 12 02:18:33 2005 UTC
# Line 117  makedupindex(void) Line 117  makedupindex(void)
117                          continue;                          continue;
118                  prev[0] = 0;                  prev[0] = 0;
119                  first_line[0] = 0;                  first_line[0] = 0;
120                  snprintf(command, sizeof(command), "global -xn%s%s \".*\" | gtags --sort", dynamic ? "n" : "", option);                  snprintf(command, sizeof(command), "global -xn%s%s \".*\"%s",
121                             dynamic ? "n" : "", option,
122                             (!dynamic || db == GSYMS) ? " | gtags --sort" : "");
123                  if ((ip = popen(command, "r")) == NULL)                  if ((ip = popen(command, "r")) == NULL)
124                          die("cannot execute command '%s'.", command);                          die("cannot execute command '%s'.", command);
125                  while ((ctags_x = strbuf_fgets(sb, ip, STRBUF_NOCRLF)) != NULL) {                  while ((ctags_x = strbuf_fgets(sb, ip, STRBUF_NOCRLF)) != NULL) {

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

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