/[global]/global/htags/htags.c
ViewVC logotype

Diff of /global/htags/htags.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.56 by shigio, Sat Apr 16 15:17:40 2005 UTC revision 1.57 by shigio, Thu May 5 01:51:53 2005 UTC
# Line 346  generate_file(dist, file) Line 346  generate_file(dist, file)
346          };          };
347          int tabsize = sizeof(tab) / sizeof(struct map);          int tabsize = sizeof(tab) / sizeof(struct map);
348    
349          tab[0].value = gen_page_begin("Result", 1);          tab[0].value = gen_page_begin("Result", SUBDIR);
350          tab[1].value = gen_page_end();          tab[1].value = gen_page_end();
351          /*          /*
352           * construct regular expression.           * construct regular expression.
# Line 497  makehelp(file) Line 497  makehelp(file)
497          op = fopen(makepath(distpath, file, NULL), "w");          op = fopen(makepath(distpath, file, NULL), "w");
498          if (!op)          if (!op)
499                  die("cannot make help file.");                  die("cannot make help file.");
500          fputs_nl(gen_page_begin("HELP", 0), op);          fputs_nl(gen_page_begin("HELP", TOPDIR), op);
501          fputs_nl(body_begin, op);          fputs_nl(body_begin, op);
502          fputs(header_begin, op);          fputs(header_begin, op);
503          fputs("Usage of Links", op);          fputs("Usage of Links", op);
# Line 626  makeindex(file, title, index) Line 626  makeindex(file, title, index)
626          op = fopen(makepath(distpath, file, NULL), "w");          op = fopen(makepath(distpath, file, NULL), "w");
627          if (!op)          if (!op)
628                  die("cannot make file '%s'.", file);                  die("cannot make file '%s'.", file);
629          fputs_nl(gen_page_begin(title, 0), op);          fputs_nl(gen_page_begin(title, TOPDIR), op);
630          if (Fflag) {          if (Fflag) {
631                  fputs_nl(gen_frameset_begin("cols='200,*'"), op);                  fputs_nl(gen_frameset_begin("cols='200,*'"), op);
632                  if (fflag) {                  if (fflag) {
# Line 674  makemainindex(file, index) Line 674  makemainindex(file, index)
674          op = fopen(makepath(distpath, file, NULL), "w");          op = fopen(makepath(distpath, file, NULL), "w");
675          if (!op)          if (!op)
676                  die("cannot make file '%s'.", file);                  die("cannot make file '%s'.", file);
677          fputs_nl(gen_page_begin(title, 0), op);          fputs_nl(gen_page_begin(title, TOPDIR), op);
678          fputs_nl(body_begin, op);          fputs_nl(body_begin, op);
679          fputs(index, op);          fputs(index, op);
680          fputs_nl(body_end, op);          fputs_nl(body_end, op);
# Line 696  makesearchindex(file) Line 696  makesearchindex(file)
696          op = fopen(makepath(distpath, file, NULL), "w");          op = fopen(makepath(distpath, file, NULL), "w");
697          if (!op)          if (!op)
698                  die("cannot create file '%s'.", file);                  die("cannot create file '%s'.", file);
699          fputs_nl(gen_page_begin("SEARCH", 0), op);          fputs_nl(gen_page_begin("SEARCH", TOPDIR), op);
700          fputs_nl(body_begin, op);          fputs_nl(body_begin, op);
701          fputs(makesearchpart(action, id, "mains"), op);          fputs(makesearchpart(action, id, "mains"), op);
702          fputs_nl(body_end, op);          fputs_nl(body_end, op);

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

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