aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/sword/00-fflush.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/sword/00-fflush.patch')
-rw-r--r--unmaintained/sword/00-fflush.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/unmaintained/sword/00-fflush.patch b/unmaintained/sword/00-fflush.patch
new file mode 100644
index 0000000000..79f0649f65
--- /dev/null
+++ b/unmaintained/sword/00-fflush.patch
@@ -0,0 +1,12 @@
+diff --git a/utilities/installmgr.cpp b/utilities/installmgr.cpp
+index b705c25..132314a 100644
+--- a/utilities/installmgr.cpp
++++ b/utilities/installmgr.cpp
+@@ -73,6 +73,7 @@ virtual bool isUserDisclaimerConfirmed() const {
+ cout << "If you understand this and are willing to enable remote source features\n";
+ cout << "then type yes at the prompt\n\n";
+ cout << "enable? [no] ";
++ fflush(stdout);
+
+ char prompt[10];
+ fgets(prompt, 9, stdin);