public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/39598] New: Invocation of the interface basic_istream<T>::seekg(pos_type pos) calls rdbuf()->pubseekpos(pos) with wrong argument.
@ 2009-03-31 11:23 vmartirosyan at gmail dot com
2009-03-31 11:41 ` [Bug libstdc++/39598] " paolo dot carlini at oracle dot com
0 siblings, 1 reply; 2+ messages in thread
From: vmartirosyan at gmail dot com @ 2009-03-31 11:23 UTC (permalink / raw)
To: gcc-bugs
Invocation of the interface basic_istream<T>::seekg(pos_type pos) should call
rdbuf()->pubseekpos(pos), but it calls rdbuf()->pubseekpos(pos, ios_base::out).
Elimination:
------------------
Replace the call rdbuf()->pubseekpos(pos, ios_base::out) with
rdbuf()->pubseekpos(pos).
--
Summary: Invocation of the interface
basic_istream<T>::seekg(pos_type pos) calls rdbuf()-
>pubseekpos(pos) with wrong argument.
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: vmartirosyan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39598
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug libstdc++/39598] Invocation of the interface basic_istream<T>::seekg(pos_type pos) calls rdbuf()->pubseekpos(pos) with wrong argument.
2009-03-31 11:23 [Bug libstdc++/39598] New: Invocation of the interface basic_istream<T>::seekg(pos_type pos) calls rdbuf()->pubseekpos(pos) with wrong argument vmartirosyan at gmail dot com
@ 2009-03-31 11:41 ` paolo dot carlini at oracle dot com
0 siblings, 0 replies; 2+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-03-31 11:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from paolo dot carlini at oracle dot com 2009-03-31 11:40 -------
*** This bug has been marked as a duplicate of 39596 ***
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39598
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-31 11:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-31 11:23 [Bug libstdc++/39598] New: Invocation of the interface basic_istream<T>::seekg(pos_type pos) calls rdbuf()->pubseekpos(pos) with wrong argument vmartirosyan at gmail dot com
2009-03-31 11:41 ` [Bug libstdc++/39598] " paolo dot carlini at oracle dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).