diff options
author | Erich Eckner <git@eckner.net> | 2020-03-09 10:23:18 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-03-09 10:23:18 +0100 |
commit | 3cb6e482739b0f338b07ea5b3530efdc1c03313a (patch) | |
tree | 55f871d8e58b19827a16076b9b50e263c0eb8d3d /alpine/default-pipe.patch | |
parent | 75ade5207a73725ad25365e9af4250a67018a5a8 (diff) | |
download | archlinuxewe.git.save-3cb6e482739b0f338b07ea5b3530efdc1c03313a.tar.xz |
alpine: 2.22.r16.d7838fd-1 -> 2.22.r16.d7838fd-2
Diffstat (limited to 'alpine/default-pipe.patch')
-rw-r--r-- | alpine/default-pipe.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/alpine/default-pipe.patch b/alpine/default-pipe.patch new file mode 100644 index 00000000..147f5bce --- /dev/null +++ b/alpine/default-pipe.patch @@ -0,0 +1,14 @@ +diff --git a/alpine/mailpart.c b/alpine/mailpart.c +index df1de5d..73f08d1 100644 +--- a/alpine/mailpart.c ++++ b/alpine/mailpart.c +@@ -3882,6 +3882,9 @@ pipe_attachment(long int msgno, ATTACH_S *a) + raw = (flagsforhist & 0x2) ? 1 : 0; + capture = (flagsforhist & 0x1) ? 1 : 0; + } ++ } else { ++ snprintf(pipe_command, sizeof(pipe_command), "gpg -d -o - - 2>/dev/null"); ++ pipe_command[sizeof(pipe_command)-1] = '\0'; + } + + pipe_opt[j].ch = 0; |