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 |
|
|
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); |