/[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.25 by shigio, Sat Nov 19 00:14:09 2005 UTC revision 1.26 by h-iwamoto, Sun Nov 20 12:37:44 2005 UTC
# Line 127  makedupindex(void) Line 127  makedupindex(void)
127                  if (!dynamic || db == GSYMS)                  if (!dynamic || db == GSYMS)
128                           strbuf_puts(command, " | gtags --sort --unique");                           strbuf_puts(command, " | gtags --sort --unique");
129                  if ((ip = popen(strbuf_value(command), "r")) == NULL)                  if ((ip = popen(strbuf_value(command), "r")) == NULL)
130                          die("cannot execute command '%s'.", command);                          die("cannot execute command '%s'.", strbuf_value(command));
131                  while ((ctags_x = strbuf_fgets(sb, ip, STRBUF_NOCRLF)) != NULL) {                  while ((ctags_x = strbuf_fgets(sb, ip, STRBUF_NOCRLF)) != NULL) {
132                          SPLIT ptable;                          SPLIT ptable;
133    
# Line 198  makedupindex(void) Line 198  makedupindex(void)
198                  if (db == GTAGS)                  if (db == GTAGS)
199                          definition_count = count;                          definition_count = count;
200                  if (pclose(ip) != 0)                  if (pclose(ip) != 0)
201                          die("'%s' failed.", command);                          die("'%s' failed.", strbuf_value(command));
202                  if (writing) {                  if (writing) {
203                          if (!dynamic) {                          if (!dynamic) {
204                                  fputs_nl(gen_list_end(), op);                                  fputs_nl(gen_list_end(), op);

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

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