diff options
author | kim <kim> | 1999-03-06 20:37:32 +0000 |
---|---|---|
committer | kim <kim> | 1999-03-06 20:37:32 +0000 |
commit | c9dab65921d5e8ec988a36adc5d1eef1fdf9b51e (patch) | |
tree | c34ccc1fca963cf751ef4c73eb5e91976c9fba7a /mail | |
parent | bd98fc13bc0e8093c06c1b3766cd6f2696d96001 (diff) | |
download | pkgsrc-c9dab65921d5e8ec988a36adc5d1eef1fdf9b51e.tar.gz |
patch-cc: fix missing "-file" switch for mhshow when displaying files (e.g.
after composing a mime message you wanted to view it, or you got
a message/rfc822 attachment you wanted to view)
patch-cd: fix missing newline in strings generated by dctime (with snprintf
need to account for an extra character: the trailing null; fixes
problems with mhl and packf)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/nmh/patches/patch-cc | 20 | ||||
-rw-r--r-- | mail/nmh/patches/patch-cd | 13 |
2 files changed, 33 insertions, 0 deletions
diff --git a/mail/nmh/patches/patch-cc b/mail/nmh/patches/patch-cc new file mode 100644 index 00000000000..25dfa0e8644 --- /dev/null +++ b/mail/nmh/patches/patch-cc @@ -0,0 +1,20 @@ +$NetBSD: patch-cc,v 1.1 1999/03/06 20:37:32 kim Exp $ + +--- uip/show.c.orig Thu Dec 3 18:22:07 1998 ++++ uip/show.c Sat Mar 6 14:55:52 1999 +@@ -315,6 +315,15 @@ + vec[vecp] = NULL; + } + ++ /* If the "proc" is "mhshow", add "-file" if showing file or draft. ++ * Ruud de Rooij <ruud@debian.org> Wed, 24 Feb 1999 19:31:40 +0100 ++ */ ++ if (strcmp (r1bindex (proc, '/'), "mhshow") == 0 && (draftsw || file) ) { ++ vec[vecp] = vec[vecp - 1]; ++ vec[vecp - 1] = "-file"; ++ vec[++vecp] = NULL; ++ } ++ + /* + * If "proc" is mhl, then run it internally + * rather than exec'ing it. diff --git a/mail/nmh/patches/patch-cd b/mail/nmh/patches/patch-cd new file mode 100644 index 00000000000..de8b6c229b6 --- /dev/null +++ b/mail/nmh/patches/patch-cd @@ -0,0 +1,13 @@ +$NetBSD: patch-cd,v 1.1 1999/03/06 20:37:32 kim Exp $ + +--- zotnet/tws/dtime.c.orig Sun Jul 12 16:16:33 1998 ++++ zotnet/tws/dtime.c Sat Mar 6 15:17:04 1999 +@@ -247,7 +247,7 @@ + char * + dctime (struct tws *tw) + { +- static char buffer[25]; ++ static char buffer[26]; + + if (!tw) + return NULL; |