From 1741e84476fcef10b1e80511df0737a0f80990df Mon Sep 17 00:00:00 2001 From: paolo Date: Sat, 22 Nov 2003 11:41:41 +0000 Subject: [PATCH] 2003-11-22 Paolo Carlini * include/bits/istream.tcc (getline(basic_string<>&)): Fix error in comment of the previous commit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73836 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/bits/istream.tcc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 22c9b0c..33eccf8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2003-11-22 Paolo Carlini + * include/bits/istream.tcc (getline(basic_string<>&)): + Fix error in comment of the previous commit. + +2003-11-22 Paolo Carlini + PR libstdc++/12593 * include/bits/istream.tcc (operator>>(basic_string<>&), getline(basic_string<>&)): Implement resolution of DR 91 [WP]; diff --git a/libstdc++-v3/include/bits/istream.tcc b/libstdc++-v3/include/bits/istream.tcc index 40acf11..9b87bc2 100644 --- a/libstdc++-v3/include/bits/istream.tcc +++ b/libstdc++-v3/include/bits/istream.tcc @@ -1193,7 +1193,7 @@ namespace std // _GLIBCXX_RESOLVE_LIB_DEFECTS // 91. Description of operator>> and getline() for string<> // might cause endless loop - // 27.6.1.2.1 Common requirements. + // 27.6.1.3 paragraph 1. // Turn this on without causing an ios::failure to be thrown. __in.setstate(ios_base::badbit); if ((__in.exceptions() & ios_base::badbit) != 0) -- 2.7.4