751 |
snprintf(path, sizeof(path), "%s/%s/%s", distpath, SRCS, p); |
snprintf(path, sizeof(path), "%s/%s/%s", distpath, SRCS, p); |
752 |
src2html(_, path, notsource); |
src2html(_, path, notsource); |
753 |
} |
} |
754 |
if (pclose(ip) < 0) |
if (pclose(ip) != 0) |
755 |
die("cannot traverse directory.(%s)", command); |
die("cannot traverse directory.(%s)", command); |
756 |
strbuf_close(sb); |
strbuf_close(sb); |
757 |
} |
} |
867 |
} |
} |
868 |
strbuf_puts(sb, gen_list_end()); |
strbuf_puts(sb, gen_list_end()); |
869 |
strbuf_putc(sb, '\n'); |
strbuf_putc(sb, '\n'); |
870 |
if (pclose(ip) < 0) |
if (pclose(ip) != 0) |
871 |
die("cannot execute command '%s'.", command); |
die("cannot execute command '%s'.", command); |
872 |
strbuf_sprintf(sb, "%s\n", hr); |
strbuf_sprintf(sb, "%s\n", hr); |
873 |
if (aflag && !Fflag) { |
if (aflag && !Fflag) { |
1300 |
strbuf_putc(save_c, *p); |
strbuf_putc(save_c, *p); |
1301 |
} |
} |
1302 |
} |
} |
1303 |
if (pclose(ip) < 0) |
if (pclose(ip) != 0) |
1304 |
die("cannot execute '%s'.", command); |
die("cannot execute '%s'.", command); |
1305 |
strbuf_close(sb); |
strbuf_close(sb); |
1306 |
save_config = strbuf_value(save_c); |
save_config = strbuf_value(save_c); |