[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: |
Martin MOKREJŠ |
Subject: |
Re: Cannot compile current cvs on Tru64Unix 5.1A with cxx |
Date: |
Wed, 23 Jul 2003 00:18:07 +0200 (CEST) |
On Tue, 22 Jul 2003, Gaius Mulley wrote:
Yes, the patch fixes the problem. Thanks!
> 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);
> }
>
--
Martin Mokrejs <address@hidden>, <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585