mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:43:04 +01:00
Do not check for errors when writing to the console in Windows. It can be problematic.
This commit is contained in:
parent
66520515f2
commit
025c67e5e9
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user