8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 12:43:03 +01:00

Do not check for errors when writing to the console in Windows. It can be problematic.

This commit is contained in:
asfernandes 2009-01-19 21:39:41 +00:00
parent 66520515f2
commit 025c67e5e9

View File

@ -54,7 +54,12 @@ public:
size_t len = strlen(text);
if (::fwrite(text, 1, len, stdout) != len)
{
// ASF: If the console is configured to UTF-8 (chcp 65001) with TrueType font, the MSVC
// runtime returns the number of characters (instead of bytes) written and make
// ferror(stdout) return true. So lets not check for errors here.
#ifndef WIN_NT
system_call_failed::raise("StandaloneUtilityInterface::output()/fwrite()");
#endif
}
}