Add fix for mutt bug#828 (mail transport agent invoked without stdout and
stderr) to proactively avoid error messages with sendmail 8.12.x.
This commit is contained in:
parent
6ea6e3b423
commit
0fe6244770
4 changed files with 40 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
|||
$NetBSD: distinfo,v 1.5 2001/09/21 12:25:59 tron Exp $
|
||||
$NetBSD: distinfo,v 1.6 2001/10/18 08:04:26 tron Exp $
|
||||
|
||||
SHA1 (mutt-1.3.21i.tar.gz) = 4bf617c5fb8606841d0ffeb4dd5b6dfad9843d1f
|
||||
Size (mutt-1.3.21i.tar.gz) = 2475281 bytes
|
||||
SHA1 (patch-aa) = 8325c09e6ab9b43786571548359fa0be4f94d14c
|
||||
SHA1 (patch-ab) = 24984804280b5db991a2a471eba39506369add70
|
||||
SHA1 (patch-ac) = 19225ed3e60de9772de5e7092f2cc67b804f0f86
|
||||
SHA1 (patch-ad) = 6516789c92fcbf11a8cb0da17cc67d4698e5f3ad
|
||||
|
|
18
mail/mutt-devel/patches/patch-ad
Normal file
18
mail/mutt-devel/patches/patch-ad
Normal file
|
@ -0,0 +1,18 @@
|
|||
$NetBSD: patch-ad,v 1.1 2001/10/18 08:04:26 tron Exp $
|
||||
|
||||
--- sendlib.c 2001/10/11 07:58:26 2.88
|
||||
+++ sendlib.c 2001/10/17 16:22:48 2.89
|
||||
@@ -1831,6 +1831,13 @@
|
||||
if (dup (1) < 0)
|
||||
_exit (S_ERR);
|
||||
}
|
||||
+ else
|
||||
+ {
|
||||
+ if (open ("/dev/null", O_WRONLY | O_APPEND) < 0) /* stdout */
|
||||
+ _exit (S_ERR);
|
||||
+ if (open ("/dev/null", O_RDWR | O_APPEND) < 0) /* stderr */
|
||||
+ _exit (S_ERR);
|
||||
+ }
|
||||
|
||||
execv (path, args);
|
||||
_exit (S_ERR);
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.4 2001/06/20 07:07:23 jlam Exp $
|
||||
$NetBSD: distinfo,v 1.5 2001/10/18 08:04:25 tron Exp $
|
||||
|
||||
SHA1 (mutt-1.2.5i.tar.gz) = a8eceff4693120da1d39f042f04668caa34deaa9
|
||||
Size (mutt-1.2.5i.tar.gz) = 1973923 bytes
|
||||
|
@ -13,3 +13,4 @@ SHA1 (patch-ah) = 36004ff9b20a3cf119c6163467f587c51a1d1e36
|
|||
SHA1 (patch-ai) = f1a3c47666dd308e4d8938939a50a5553220f736
|
||||
SHA1 (patch-aj) = 36f20c476b695bb88378aa02326bfdef77695111
|
||||
SHA1 (patch-ak) = c71e21bdd2e5c194ee2f8f619737d3cc0b4c4d5c
|
||||
SHA1 (patch-al) = 6516789c92fcbf11a8cb0da17cc67d4698e5f3ad
|
||||
|
|
18
mail/mutt/patches/patch-al
Normal file
18
mail/mutt/patches/patch-al
Normal file
|
@ -0,0 +1,18 @@
|
|||
$NetBSD: patch-al,v 1.3 2001/10/18 08:04:25 tron Exp $
|
||||
|
||||
--- sendlib.c 2001/10/11 07:58:26 2.88
|
||||
+++ sendlib.c 2001/10/17 16:22:48 2.89
|
||||
@@ -1831,6 +1831,13 @@
|
||||
if (dup (1) < 0)
|
||||
_exit (S_ERR);
|
||||
}
|
||||
+ else
|
||||
+ {
|
||||
+ if (open ("/dev/null", O_WRONLY | O_APPEND) < 0) /* stdout */
|
||||
+ _exit (S_ERR);
|
||||
+ if (open ("/dev/null", O_RDWR | O_APPEND) < 0) /* stderr */
|
||||
+ _exit (S_ERR);
|
||||
+ }
|
||||
|
||||
execv (path, args);
|
||||
_exit (S_ERR);
|
Loading…
Reference in a new issue