From a3b1b8044761afa5bccef6302a1959f442e8ec6c Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Sat, 22 Nov 2003 11:41:41 +0000 Subject: [PATCH] istream.tcc (getline(basic_string<>&)): Fix error in comment of the previous commit. 2003-11-22 Paolo Carlini * include/bits/istream.tcc (getline(basic_string<>&)): Fix error in comment of the previous commit. From-SVN: r73836 --- 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 22c9b0cca77..33eccf8f698 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/libstdc++-v3/include/bits/istream.tcc b/libstdc++-v3/include/bits/istream.tcc index 40acf116a3b..9b87bc2bb6a 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)