/[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.23 by shigio, Tue Oct 4 07:59:04 2005 UTC revision 1.24 by shigio, Fri Nov 11 08:04:05 2005 UTC
# Line 116  makedupindex(void) Line 116  makedupindex(void)
116                  first_line[0] = 0;                  first_line[0] = 0;
117                  snprintf(command, sizeof(command), "global -xn%s%s \".*\"%s",                  snprintf(command, sizeof(command), "global -xn%s%s \".*\"%s",
118                           dynamic ? "n" : "", option,                           dynamic ? "n" : "", option,
119                           (!dynamic || db == GSYMS) ? " | gtags --sort" : "");                           (!dynamic || db == GSYMS) ? " | gtags --sort --unique" : "");
120                  if ((ip = popen(command, "r")) == NULL)                  if ((ip = popen(command, "r")) == NULL)
121                          die("cannot execute command '%s'.", command);                          die("cannot execute command '%s'.", command);
122                  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.23  
changed lines
  Added in v.1.24

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