summaryrefslogtreecommitdiff
path: root/mail/nmh/patches/patch-ax
diff options
context:
space:
mode:
Diffstat (limited to 'mail/nmh/patches/patch-ax')
-rw-r--r--mail/nmh/patches/patch-ax21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/nmh/patches/patch-ax b/mail/nmh/patches/patch-ax
new file mode 100644
index 00000000000..99e56cbf0f8
--- /dev/null
+++ b/mail/nmh/patches/patch-ax
@@ -0,0 +1,21 @@
+$NetBSD: patch-ax,v 1.1 2006/03/02 21:28:23 joerg Exp $
+
+--- uip/mshcmds.c.orig 2006-03-02 21:02:23.000000000 +0000
++++ uip/mshcmds.c
+@@ -18,8 +18,6 @@
+ #include <h/msh.h>
+ #include <h/picksbr.h>
+
+-extern int errno;
+-
+ static char delim3[] = "-------"; /* from burst.c */
+
+ static int mhlnum;
+@@ -3006,7 +3004,6 @@ process (int msgnum, char *proc, int vec
+ strncpy (tmpfil, m_scratch ("", invo_name), sizeof(tmpfil));
+ if ((out = fopen (tmpfil, "w")) == NULL) {
+ int olderr;
+- extern int errno;
+ char newfil[80];
+
+ olderr = errno;