mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-05 16:46:35 -05:00
Linux: Flush stdout explicitly when reading stdin (#1172)
Rules of automatic flushing of stdout buffer is implementation-defined behaviour. In glibc this is automatically flushed, but we can't rely on it for other implementations such as musl.
This commit is contained in:
1 parent
5c9e135c9e
commit
eb2f5f33c9
1 file changed
+1
-1
@@ -1047,7 +1047,7 @@ namespace VeraCrypt
|
||||
|
||||
void TextUserInterface::DoShowString (const wxString &str) const
|
||||
{
|
||||
wcout << str.c_str();
|
||||
wcout << str.c_str() << flush;
|
||||
}
|
||||
|
||||
void TextUserInterface::DoShowWarning (const wxString &message) const
|
||||
|
||||
Reference in new issue
Block a user