Mail Archives: djgpp/1998/04/28/03:07:06
On Mon, 27 Apr 1998, James Addison wrote:
> I am trying to open an existing binary file for read/write, so I open it
> like:
>
> fstream f(filename, ios::in | ios::out | ios::binary | ios::ate);
>
> and no matter what, it always truncates - how to stop this? I need to use
> what is in the $%^ing file.... :)
>
> thanks in advance... please reply to me directly at:
>
> addi AT rogers DOT wave DOT ca using DJGPP
>
I met similar problem with versions 2.7.2.X. That is fixed
in libstdc++ 2.8.X. You could try to upgrade to gcc-2.8.0 but I recommend
to wait a bit before gcc-2.8.1 with corresponding libraries will be
be released (I working with DJGPP port of gcc-2.8.1 already for more
than a month).
Andris
- Raw text -