mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 07:14:09 +08:00
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
This commit is contained in:
parent
61d74548d6
commit
c5b6351bd6
@ -1,3 +1,8 @@
|
||||
2003-05-30 Paolo Carlini <pcarlini@unitus.it>
|
||||
|
||||
* include/bits/fstream.tcc (_M_convert_to_external): Don't
|
||||
check for __ilen > 0.
|
||||
|
||||
2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
|
||||
|
||||
PR libstdc++/10783
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user