aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ecryptfs-utils/fix-stdout-flush.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ecryptfs-utils/fix-stdout-flush.patch')
-rw-r--r--testing/ecryptfs-utils/fix-stdout-flush.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/testing/ecryptfs-utils/fix-stdout-flush.patch b/testing/ecryptfs-utils/fix-stdout-flush.patch
deleted file mode 100644
index 7f097be242..0000000000
--- a/testing/ecryptfs-utils/fix-stdout-flush.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -ru ecryptfs-utils-111.orig/src/libecryptfs/key_management.c ecryptfs-utils-111/src/libecryptfs/key_management.c
---- ecryptfs-utils-111.orig/src/libecryptfs/key_management.c 2015-12-21 22:38:59.000000000 +0200
-+++ ecryptfs-utils-111/src/libecryptfs/key_management.c 2017-01-31 11:11:55.190995428 +0200
-@@ -1245,6 +1245,7 @@
- if (prompt != NULL) {
- printf("%s: ", prompt);
- }
-+ fflush(stdout);
- ecryptfs_disable_echo(&current_settings);
- if (fgets(passphrase,
- ECRYPTFS_MAX_PASSWORD_LENGTH+2, stdin) == NULL) {
-diff -ru ecryptfs-utils-111.orig/src/utils/io.c ecryptfs-utils-111/src/utils/io.c
---- ecryptfs-utils-111.orig/src/utils/io.c 2015-12-21 22:38:59.000000000 +0200
-+++ ecryptfs-utils-111/src/utils/io.c 2017-01-31 11:11:34.127379788 +0200
-@@ -70,6 +70,7 @@
- int c;
-
- printf("%s: ", prompt);
-+ fflush(stdout);
- temp = malloc(length);
- if (!temp) {
- rc = -ENOMEM;
-@@ -122,6 +123,7 @@
- int rc = 0;
- int c;
-
-+ fflush(stdout);
- if (echo == ECRYPTFS_ECHO_OFF) {
- rc = disable_echo(&saved_settings);
- if (rc)