aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mailutils/Config.in2
-rw-r--r--mailutils/mime.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mailutils/Config.in b/mailutils/Config.in
index 4edb0aefd..744fe122e 100644
--- a/mailutils/Config.in
+++ b/mailutils/Config.in
@@ -51,7 +51,7 @@ config SENDMAIL
51 Barebones sendmail. 51 Barebones sendmail.
52 52
53config FEATURE_SENDMAIL_MAILX 53config FEATURE_SENDMAIL_MAILX
54 bool "Allow to specify subject, attachments, their charset and connection helper" 54 bool "Allow to specify subject, attachments, their charset etc"
55 default y 55 default y
56 depends on SENDMAIL 56 depends on SENDMAIL
57 help 57 help
diff --git a/mailutils/mime.c b/mailutils/mime.c
index b81cfd54c..bda727b7c 100644
--- a/mailutils/mime.c
+++ b/mailutils/mime.c
@@ -221,7 +221,7 @@ static int parse(const char *boundary, char **argv)
221 if (opts & OPT_X) { 221 if (opts & OPT_X) {
222 int fd[2]; 222 int fd[2];
223 xpipe(fd); 223 xpipe(fd);
224 pid = fork(); 224 pid = vfork();
225 if (0 == pid) { 225 if (0 == pid) {
226 // child reads from fd[0] 226 // child reads from fd[0]
227 xdup2(fd[0], STDIN_FILENO); 227 xdup2(fd[0], STDIN_FILENO);