From: Ian Miller Newsgroups: comp.os.msdos.djgpp Subject: Re: problem with fstream it erases my input file ! Date: 12 Nov 1997 17:48:09 +0000 Organization: Defence Research Agency Lines: 21 Message-ID: <87vhxyt352.fsf@hasn.dera.gov.uk> References: <3468A97A DOT E24ED7D7 AT geocities DOT com> <34698A75 DOT 485BEE4B AT LSTM DOT Ruhr-UNI-Bochum DOT De> NNTP-Posting-Host: 146.80.115.106 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Thomas Demmer writes: > Marius wrote: > [...] > AFAIK this is a bug in libiostream. The workaround is to use > open() to open the file in the desired mode and > then feed the handle into the constructor. > > Unless anybody dares to fix the lib, this bug will persist. I believe there is already a patch for this in DJ's bug reporting system. DJ's home page is at http://www.delorie.com/ HTH -- Ian Miller, Dorset, UK DJGPP 2.01, Win95 DOS box (LFN undefined, FNCASE=y) The views expressed above are entirely those of the writer and do not represent the views, policy, or understanding of any other person or official body.