This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/67583] New: libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/1.cc:92 erroneous call to sputn
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 15 Sep 2015 09:57:39 +0000
- Subject: [Bug testsuite/67583] New: libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/1.cc:92 erroneous call to sputn
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67583
Bug ID: 67583
Summary: libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/c
har/1.cc:92 erroneous call to sputn
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: zeccav at gmail dot com
Target Milestone: ---
libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/1.cc:92
strmsz_2 = strb_01.sputn(" ravi shankar meets carlos santana in LoHa", 90);
is erroneous, in my opinion, because it tries to transfer 90 bytes
while the string contains 43 characters, including null.