aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ecryptfs-utils/fix-stdout-flush.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-01-31 11:26:12 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-01-31 11:26:12 +0200
commitcf0a5d75f1fd50eb08833397df5bb889938faa9f (patch)
tree27d63edb87a3d2b2dbfedae161f43e7c04ee7954 /testing/ecryptfs-utils/fix-stdout-flush.patch
parentad3f68e3e5e9153aed56f3e551600ab5ceee6dd8 (diff)
downloadaports-cf0a5d75f1fd50eb08833397df5bb889938faa9f.tar.bz2
aports-cf0a5d75f1fd50eb08833397df5bb889938faa9f.tar.xz
community/ecryptfs-utils: moved from testing
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)