public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Paolo Carlini <pcarlini@unitus.it>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: libstdc++/8399: sync_with_stdio(false) breaks unformatted input
Date: Sun, 10 Nov 2002 10:46:00 -0000	[thread overview]
Message-ID: <20021110184602.6382.qmail@sources.redhat.com> (raw)

The following reply was made to PR libstdc++/8399; it has been noted by GNATS.

From: Paolo Carlini <pcarlini@unitus.it>
To: gcc-gnats@gcc.gnu.org,  gcc-prs@gcc.gnu.org, 
 marc-oliver.gewaltig@hre-ftr.f.rd.honda.co.jp,  gcc-bugs@gcc.gnu.org, 
 nobody@gcc.gnu.org
Cc: bkoz <bkoz@redhat.com>
Subject: Re: libstdc++/8399: sync_with_stdio(false) breaks unformatted input
Date: Sun, 10 Nov 2002 19:46:41 +0100

 Hi,
 
 this is a reduced testcase:
 
 ////
 #include <iostream>
 using namespace std;
 
 int main()
 {
    ios::sync_with_stdio(false);
 
    char c;
 
    cin.get(c);
    cout.put(c);
 
    return 0;
 }
 ////
 
 What happens with current mainline is that a <newline>
 doesn't end the get, whereas this happens with the 'sync'.
 
 Therefore, the issue seems more than vaguely related to
 the obnoxious libstdc++/6745 and all that...
 
 Ciao, Paolo.
 
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8399
 


             reply	other threads:[~2002-11-10 18:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-10 10:46 Paolo Carlini [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-21  6:51 paolo
2002-11-20  1:36 paolo
2002-11-04  4:59 paolo
2002-11-04  4:53 paolo
2002-11-03 16:09 paolo
2002-10-30  2:26 marc-oliver.gewaltig

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=20021110184602.6382.qmail@sources.redhat.com \
    --to=pcarlini@unitus.it \
    --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: link
Be 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).