[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot compile current cvs on Tru64Unix 5.1A with cxx
From: |
Gaius Mulley |
Subject: |
Re: Cannot compile current cvs on Tru64Unix 5.1A with cxx |
Date: |
22 Jul 2003 22:21:54 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Werner LEMBERG <address@hidden> writes:
> > cxx: Error: post-html.cpp, line 3857: expression must be a modifiable lvalue
> > stdout = fopen(split_file.contents(), "w");
> > ------^
>
> A known problem. To be fixed soon (from Gaius :-)
>
Hi Werner,
ahh yes the stdout problem.. hope this helps,
Gaius
--- groff-cvs/src/devices/grohtml/post-html.cpp Mon Jul 7 08:38:09 2003
+++ groff-stdout/src/devices/grohtml/post-html.cpp Tue Jul 22 22:15:01 2003
@@ -3851,11 +3851,10 @@
current = next;
next = file_list.next_file_name();
next += '\0';
- fclose(stdout);
string split_file = file_list.file_name();
split_file += '\0';
- stdout = fopen(split_file.contents(), "w");
- html.set_file(stdout);
+ fflush(stdout);
+ freopen(split_file.contents(), "w", stdout);
fragment_no++;
write_navigation(top, prev, next, current);
}