aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-io.h
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2004-04-24 22:20:31 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2004-04-24 22:20:31 +0000
commit062bf895938ee3130690ac20a8b571f6d61e7dc1 (patch)
treeb23fae76c72b1ce16a8979ccd6b959c438a9649c /gcc/gcov-io.h
parent6f0b1fa57ee7bea87c2808546b342452825bad06 (diff)
downloadgcc-062bf895938ee3130690ac20a8b571f6d61e7dc1.zip
gcc-062bf895938ee3130690ac20a8b571f6d61e7dc1.tar.gz
gcc-062bf895938ee3130690ac20a8b571f6d61e7dc1.tar.bz2
PR libstdc++/15002 (continued)
2004-04-24 Paolo Carlini <pcarlini@suse.de> Petur Runolfsson <peturr02@ru.is> PR libstdc++/15002 (continued) * include/bits/istream.tcc (basic_istream<>::getline(char_type*, streamsize, char_type)): Use traits::find/copy in a loop to speed up greatly the function in the common case (I/O buffer size >> 1). 2004-04-24 Paolo Carlini <pcarlini@suse.de> * testsuite/27_io/basic_istream/getline/char/4.cc: New. * include/bits/istream.tcc (getline(basic_istream<>&, basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead of sbumpc(), consistently with the other functions, thus also dealing correctly with the case of exceeded string::max_size(). Co-Authored-By: Petur Runolfsson <peturr02@ru.is> From-SVN: r81146
Diffstat (limited to 'gcc/gcov-io.h')
0 files changed, 0 insertions, 0 deletions