This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/7276] strstreambuf (charbuf,N,charbuf) doesn`t allowed to read.
- From: "pme at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jun 2003 20:32:58 -0000
- Subject: [Bug libstdc++/7276] strstreambuf (charbuf,N,charbuf) doesn`t allowed to read.
- References: <20020711063600.7276.johnb@stl.sarov.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7276
pme@gcc.gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From pme@gcc.gnu.org 2003-06-01 20:32 -------
Not a bug. With the argument list of (gbuf,n,pbuf), you're setting the "get
area" to be the space between gbuf and pbuf. Since you pass the same pointer
as gbuf and pbuf, the get area is empty, and all reads will fail.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.