aboutsummaryrefslogtreecommitdiffstats
path: root/main/sword/00-fflush.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-04-27 07:37:21 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-04-27 07:37:21 +0000
commit7c2a2e0722a11b7b5aa8c530025854a1c2f3be29 (patch)
tree2d6976fb220dfe3fc0f11ee7cc0f786d1d7675af /main/sword/00-fflush.patch
parent99b4e901669aa09bdf30ce9628dacc641eca936d (diff)
downloadaports-7c2a2e0722a11b7b5aa8c530025854a1c2f3be29.tar.bz2
aports-7c2a2e0722a11b7b5aa8c530025854a1c2f3be29.tar.xz
testing/sword: move to main
Diffstat (limited to 'main/sword/00-fflush.patch')
-rw-r--r--main/sword/00-fflush.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/sword/00-fflush.patch b/main/sword/00-fflush.patch
new file mode 100644
index 0000000000..79f0649f65
--- /dev/null
+++ b/main/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);