Changeset 2619 for trunk/texinfo/makeinfo/node.c
- Timestamp:
- Mar 12, 2006, 6:02:46 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/texinfo/makeinfo/node.c
r2617 r2619 504 504 char *optr = otem; 505 505 int need_old = 0; 506 506 507 507 for (; *optr; optr++) 508 508 { … … 513 513 } 514 514 } 515 515 516 516 if (need_old) 517 517 { … … 974 974 975 975 if (!splitting && no_headers) 976 { /* cross refs need a name="#anchor" even if not writing headers */ 976 { /* cross refs need a name="#anchor" even if not writing headers */ 977 977 add_html_names (node); 978 978 } … … 984 984 add_word_args ("<p>%s\n", splitting ? "" : "<hr>"); 985 985 986 /* In the split HTML case, the filename is wrong for the 986 /* In the split HTML case, the filename is wrong for the 987 987 old-style converted names, but we'll add them anyway, for 988 988 consistency. (And we need them in the normal (not … … 995 995 add_word ((char *) _("Next:")); 996 996 add_word (" "); 997 997 998 998 add_word ("<a rel=\"next\" accesskey=\"n\" href=\""); 999 999 add_anchor_name (tem, 1); 1000 1000 tem = escape_string (tem); 1001 1001 add_word_args ("\">%s</a>", tem); 1002 1002 1003 1003 free (tem); 1004 1004 … … 1880 1880 char *split_basename = filename_part (split_filename); 1881 1881 1882 #ifdef __EMX__ 1883 fd = open (split_filename, 1884 O_WRONLY|O_TRUNC|O_CREAT|O_BINARY, 0666); 1885 #else 1882 1886 fd = open (split_filename, O_WRONLY|O_TRUNC|O_CREAT, 0666); 1887 #endif 1883 1888 if (fd < 0 1884 1889 || write (fd, the_header, header_size) != header_size … … 1918 1923 original again. We must use `output_stream', or 1919 1924 write_tag_table_indirect () won't know where to place the output. */ 1925 #ifdef __EMX__ 1926 output_stream = fopen (filename, FOPEN_WBIN); 1927 #else 1920 1928 output_stream = fopen (filename, "w"); 1929 #endif 1921 1930 if (!output_stream) 1922 1931 {
Note:
See TracChangeset
for help on using the changeset viewer.