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

Diff of /global/htags/fileindex.c

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

revision 1.39 by shigio, Fri Apr 8 11:11:32 2005 UTC revision 1.40 by shigio, Thu May 5 01:51:53 2005 UTC
# Line 655  makefileindex(file, files) Line 655  makefileindex(file, files)
655          if ((FILES = fopen(makepath(distpath, file, NULL), "w")) == NULL)          if ((FILES = fopen(makepath(distpath, file, NULL), "w")) == NULL)
656                  die("cannot open file '%s'.", file);                  die("cannot open file '%s'.", file);
657    
658          fputs_nl(gen_page_begin(title_file_index, 0), FILES);          fputs_nl(gen_page_begin(title_file_index, TOPDIR), FILES);
659          fputs_nl(body_begin, FILES);          fputs_nl(body_begin, FILES);
660          fputs(header_begin, FILES);          fputs(header_begin, FILES);
661          fputs(gen_href_begin(NULL, "files", normal_suffix, NULL), FILES);          fputs(gen_href_begin(NULL, "files", normal_suffix, NULL), FILES);
# Line 765  makefileindex(file, files) Line 765  makefileindex(file, files)
765                                  strbuf_reset(sb);                                  strbuf_reset(sb);
766                                  strbuf_puts(sb, path);                                  strbuf_puts(sb, path);
767                                  strbuf_putc(sb, '/');                                  strbuf_putc(sb, '/');
768                                  fputs_nl(gen_page_begin(strbuf_value(sb), 1), STDOUT);                                  fputs_nl(gen_page_begin(strbuf_value(sb), SUBDIR), STDOUT);
769                                  fputs_nl(body_begin, STDOUT);                                  fputs_nl(body_begin, STDOUT);
770                                  fprintf(STDOUT, "%s%sroot%s/", header_begin, gen_href_begin(NULL, indexlink, normal_suffix, NULL), gen_href_end());                                  fprintf(STDOUT, "%s%sroot%s/", header_begin, gen_href_begin(NULL, indexlink, normal_suffix, NULL), gen_href_end());
771                                  {                                  {
# Line 984  makeincludeindex(void) Line 984  makeincludeindex(void)
984    
985                          snprintf(path, sizeof(path), "%s/%s/%d.%s", distpath, INCS, no, HTML);                          snprintf(path, sizeof(path), "%s/%s/%d.%s", distpath, INCS, no, HTML);
986                          INCLUDE = open_file_queue(path);                          INCLUDE = open_file_queue(path);
987                          fputs_nl(gen_page_begin(last, 1), INCLUDE);                          fputs_nl(gen_page_begin(last, SUBDIR), INCLUDE);
988                          fputs_nl(body_begin, INCLUDE);                          fputs_nl(body_begin, INCLUDE);
989                          fputs_nl(verbatim_begin, INCLUDE);                          fputs_nl(verbatim_begin, INCLUDE);
990                          {                          {
# Line 1028  makeincludeindex(void) Line 1028  makeincludeindex(void)
1028    
1029                          snprintf(path, sizeof(path), "%s/%s/%d.%s", distpath, INCREFS, no, HTML);                          snprintf(path, sizeof(path), "%s/%s/%d.%s", distpath, INCREFS, no, HTML);
1030                          INCLUDE = open_file_queue(path);                          INCLUDE = open_file_queue(path);
1031                          fputs_nl(gen_page_begin(last, 1), INCLUDE);                          fputs_nl(gen_page_begin(last, SUBDIR), INCLUDE);
1032                          fputs_nl(body_begin, INCLUDE);                          fputs_nl(body_begin, INCLUDE);
1033                          fputs_nl(gen_list_begin(), INCLUDE);                          fputs_nl(gen_list_begin(), INCLUDE);
1034                          {                          {

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

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