public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libstdc++/7276: strstreambuf (charbuf,N,charbuf) doesn`t allowed to read.
@ 2002-07-11  6:36 johnb
  0 siblings, 0 replies; 2+ messages in thread
From: johnb @ 2002-07-11  6:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7276
>Category:       libstdc++
>Synopsis:       strstreambuf (charbuf,N,charbuf) doesn`t allowed to read.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 11 06:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     johnb@stl.sarov.ru
>Release:        g++3.1
>Organization:
>Environment:
RH Linux release 7.2
>Description:
I use the constructor strstreambuf (buf,n,buf) for strstreambuf object, but can`t read from it. Write operations passes OK. Only after write operation buffer  can be read. This impossibility of reading influence on strstream,istrstream objects which calls such constructor. See the simple testcase.


>How-To-Repeat:
Compile and run testcase attached with g++ 3.1.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="streambuf.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="streambuf.cpp"

I2luY2x1ZGUgPHN0cnN0cmVhbT4KI2luY2x1ZGUgPGlvc3RyZWFtPgoKI2RlZmluZSBJdAlzdGQ6
OmNoYXJfdHJhaXRzPGNoYXI+CgppbnQgbWFpbihpbnQsIGNoYXIgKltdKQp7CgljaGFyICpidWYg
PSBuZXcgY2hhciBbNV07CglzdGQ6OnN0cmNweSAoYnVmLCJhYmNkZWYiKTsKCglzdGQ6OnN0cnN0
cmVhbWJ1ZiBzb21lYnVmIChidWYsNSxidWYpOwoJCglpZiAoc29tZWJ1Zi5zZ2V0YygpID09IEl0
Ojp0b19pbnRfdHlwZSgnYScpKSAKCSAgIHN0ZDo6Y291dCA8PCAiUmVhZGluZyBwYXNzZWRcbiI7
CiAgICAgICAgZWxzZQoJICAgc3RkOjpjb3V0IDw8ICJSZWFkaW5nIGZhaWxlZFxuIjsKCi8qCSAg
IAoJc29tZWJ1Zi5zcHV0YygneCcpOyAKCglpZiAoc29tZWJ1Zi5zZ2V0YygpID09IEl0Ojp0b19p
bnRfdHlwZSgneCcpKSAKCSAgIHN0ZDo6Y291dCA8PCAiV3JpdGluZyBwYXNzZWQgIVxuIjsKCWVs
c2UKCSAgIHN0ZDo6Y291dCA8PCAiV3JpdGluZyBmYWlsZWQgIVxuIjsKCiovCQoKICAgZGVsZXRl
KGJ1Zik7CiAgIAogIHJldHVybiAwOwogfQoKCg==


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libstdc++/7276: strstreambuf (charbuf,N,charbuf) doesn`t allowed to read.
@ 2002-11-19 12:36 bkoz
  0 siblings, 0 replies; 2+ messages in thread
From: bkoz @ 2002-11-19 12:36 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, johnb, nobody

Synopsis: strstreambuf (charbuf,N,charbuf) doesn`t allowed to read.

State-Changed-From-To: open->analyzed
State-Changed-By: bkoz
State-Changed-When: Mon Nov 11 15:23:38 2002
State-Changed-Why:
    Extremely low priority, deprecated.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7276


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-11 23:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-11  6:36 libstdc++/7276: strstreambuf (charbuf,N,charbuf) doesn`t allowed to read johnb
2002-11-19 12:36 bkoz

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).