public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: paolo@gcc.gnu.org To: Hans.Ranke@ei.tum.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org Subject: Re: libstdc++/10478: stdio_filebuf corrupts output for buffer sizes 1,2,3The Date: Thu, 24 Apr 2003 11:39:00 -0000 [thread overview] Message-ID: <20030424113922.26365.qmail@sources.redhat.com> (raw) Synopsis: stdio_filebuf corrupts output for buffer sizes 1,2,3The State-Changed-From-To: open->closed State-Changed-By: paolo State-Changed-When: Thu Apr 24 11:39:22 2003 State-Changed-Why: Already fixed for the forthcoming 3.3 release with: 2003-03-31 Paolo Carlini <pcarlini@unitus.it> * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t), stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t): _M_buf_size_opt == 0 means only "not to use an allocated buffer" since a stack-based buffer is used for small values of the size_t parameter. * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow). If _M_buf_size != 0 flush out the buffer (any kind, stack-based too). * testsuite/ext/stdio_filebuf_2.cc: New testfile. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10478
next reply other threads:[~2003-04-24 11:39 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-04-24 11:39 paolo [this message] -- strict thread matches above, loose matches on Subject: below -- 2003-04-24 10:06 Hans.Ranke
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030424113922.26365.qmail@sources.redhat.com \ --to=paolo@gcc.gnu.org \ --cc=Hans.Ranke@ei.tum.de \ --cc=gcc-bugs@gcc.gnu.org \ --cc=gcc-gnats@gcc.gnu.org \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).