diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-03-16 16:35:19 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-07 16:05:00 +0000 |
commit | c0625f5ea0a06ea6ac10b3ed083ace19dcceab6d (patch) | |
tree | 083c578b404e70d87c44f8faead9ed1247a70c23 /main/cryptsetup/flush-stdout.patch | |
parent | 461d26a03341a7ed50480dc0676972f6b798f260 (diff) | |
download | aports-c0625f5ea0a06ea6ac10b3ed083ace19dcceab6d.tar.bz2 aports-c0625f5ea0a06ea6ac10b3ed083ace19dcceab6d.tar.xz |
main/cryptsetup: upgrade to 2.1.0
Diffstat (limited to 'main/cryptsetup/flush-stdout.patch')
-rw-r--r-- | main/cryptsetup/flush-stdout.patch | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/main/cryptsetup/flush-stdout.patch b/main/cryptsetup/flush-stdout.patch index ae21a235f5..a39aec5474 100644 --- a/main/cryptsetup/flush-stdout.patch +++ b/main/cryptsetup/flush-stdout.patch @@ -1,17 +1,18 @@ ---- ./src/utils_tools.c.orig 2014-10-24 12:58:35.151717616 -0200 -+++ ./src/utils_tools.c 2014-10-24 13:00:42.716855265 -0200 -@@ -105,10 +105,13 @@ +diff -upr cryptsetup-2.1.0.orig/src/utils_tools.c cryptsetup-2.1.0/src/utils_tools.c +--- cryptsetup-2.1.0.orig/src/utils_tools.c 2019-01-31 21:37:12.000000000 +0100 ++++ cryptsetup-2.1.0/src/utils_tools.c 2019-03-16 16:33:13.000000000 +0100 +@@ -105,10 +105,13 @@ void tool_log(int level, const char *msg case CRYPT_LOG_NORMAL: - fputs(msg, stdout); + fprintf(stdout, "%s", msg); + fflush(stdout); break; case CRYPT_LOG_VERBOSE: - if (opt_verbose) + if (opt_verbose) { - fputs(msg, stdout); + fprintf(stdout, "%s", msg); + fflush(stdout); + } break; case CRYPT_LOG_ERROR: - fputs(msg, stderr); + fprintf(stderr, "%s", msg); |