diff options
author | Paolo Carlini <pcarlini@unitus.it> | 2003-05-30 13:39:56 +0200 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-05-30 11:39:56 +0000 |
commit | c5b6351bd6020fe65557793b099654c11ef04b92 (patch) | |
tree | aa838061a96fd91647fbac4ebff9fcb245ba2ef1 /libstdc++-v3/include/bits/fstream.tcc | |
parent | 61d74548d6cb79c73d787f43835effe6f272991a (diff) | |
download | gcc-c5b6351bd6020fe65557793b099654c11ef04b92.zip gcc-c5b6351bd6020fe65557793b099654c11ef04b92.tar.gz gcc-c5b6351bd6020fe65557793b099654c11ef04b92.tar.bz2 |
fstream.tcc (_M_convert_to_external): Don't check for __ilen > 0.
2003-05-30 Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (_M_convert_to_external): Don't
check for __ilen > 0.
From-SVN: r67240
Diffstat (limited to 'libstdc++-v3/include/bits/fstream.tcc')
-rw-r--r-- | libstdc++-v3/include/bits/fstream.tcc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/fstream.tcc b/libstdc++-v3/include/bits/fstream.tcc index 9bbb5cc..b791579 100644 --- a/libstdc++-v3/include/bits/fstream.tcc +++ b/libstdc++-v3/include/bits/fstream.tcc @@ -376,7 +376,7 @@ namespace std streamsize __elen = 0; streamsize __plen = 0; - if (__check_facet(_M_codecvt).always_noconv() && __ilen) + if (__check_facet(_M_codecvt).always_noconv()) { __elen += _M_file.xsputn(reinterpret_cast<char*>(__ibuf), __ilen); __plen += __ilen; |