[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[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

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


------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.

Reply to: