[Bug libstdc++/15126] [2.95 regression] ios::ate does not seek to end after opening
------- Additional Comments From pcarlini at suse dot de 2004-04-25 11:12 -------
Not a bug. According to Table 92 of the ISO Standard, the 'out' openmode is
the equivalent of stdio "w", that is a new file is created or an old one is
truncated. In other words, 'out' and 'out | trunc' lead to an identical
behavior.
In order to achieve what you want with an ISO standard conforming library you
need to specify 'in | out | ate': this works, since 'in | out' means "r+".
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15126
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: