aboutsummaryrefslogtreecommitdiffstats
path: root/main/truecrypt/flush-stdout.patch
blob: 24809bae102a007bd2fe30f5b576569c0fe70d1d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- truecrypt-7.1a-source/Main/TextUserInterface.cpp.orig	2017-03-10 14:07:32.880449234 +0200
+++ truecrypt-7.1a-source/Main/TextUserInterface.cpp	2017-03-10 14:11:28.843128874 +0200
@@ -1247,6 +1247,8 @@
 		if (!TextInputStream.get() || feof (stdin) || ferror (stdin))
 			throw UserAbort (SRC_POS);
 
+		wcout.flush();
+
 		line = TextInputStream->ReadLine();
 
 		if (ferror (stdin) || (line.empty() && feof (stdin)))