This is the mail archive of the
libstdc++-prs@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: libstdc++/27: 'mode' argument in fstream/ofstream
- To: nobody at sourceware dot cygnus dot com
- Subject: Re: libstdc++/27: 'mode' argument in fstream/ofstream
- From: Benjamin Kosnik <bkoz at cygnus dot com>
- Date: 24 Jan 2000 18:27:00 -0000
- Cc: libstdc++-prs at sourceware dot cygnus dot com,
- Reply-To: Benjamin Kosnik <bkoz at cygnus dot com>
The following reply was made to PR libstdc++/27; it has been noted by GNATS.
From: Benjamin Kosnik <bkoz@cygnus.com>
To: libstdc++-gnats@sourceware.cygnus.com
Cc:
Subject: Re: libstdc++/27: 'mode' argument in fstream/ofstream
Date: Mon, 24 Jan 2000 10:19:30 -0800 (PST)
Fixed, before you submitted it :)
I suggest checking out the CVS branch, it would have set you
straight a lot sooner than I eventually did. (I was gone last week)
-benjamin
2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
* bits/sstream.tcc (seekoff): Set based on end of written buffer,
not buffer size.
* testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
* bits/std_fstream.h (ifstream::open): Add ios_base::in to
openmode.
(ofstream::open): Add ios_base::out to openmode.