mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 02:18:04 +01:00
- [SF 2513643] Seg fault in Poco::UTF8::toLower on 64-bit Linux
- removed support for 5- and 6-byte sequences - fixed error counting in StreamConverterBuf::readFromDevice() - added std::dec to poco_stdout_dbg and poco_stderr_dbg macros
This commit is contained in:
@@ -101,7 +101,11 @@ int StreamConverterBuf::readFromDevice()
|
||||
if (_pIstr->gcount() == -n - 1)
|
||||
{
|
||||
uc = _inEncoding.convert(_buffer);
|
||||
if (uc == -1) uc = _defaultChar;
|
||||
if (uc == -1)
|
||||
{
|
||||
uc = _defaultChar;
|
||||
++_errors;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user