xmlencode(fp, description, strlen(description));
fputs("</h1>\n", fp);
- FILE *longdesc = fopen("desc.md", "r");
- if (longdesc == NULL) longdesc = fopen("desc", "r");
+ FILE *longdesc = fopen("description.md", "r");
+ if (longdesc == NULL) longdesc = fopen("description", "r");
if (longdesc != NULL) {
char c = fgetc(longdesc);
#ifdef HAS_CMARK
c = fgetc(longdesc);
}
#endif
+ fclose(longdesc);
}
- fclose(longdesc);
fputs("</p>\n<hr/>\n<div id=\"content\">\n"
"<table id=\"index\"><thead>\n"
git_revwalk_new(&w, repo);
git_revwalk_push_head(w);
- git_revwalk_simplify_first_parent(w);
if (git_revwalk_next(&id, w) ||
git_commit_lookup(&commit, repo, &id)) {