head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.54 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.52 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.50 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.48 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.46 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.44 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.42 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.40 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.38 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.36 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.34 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.32 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.30 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.28 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.26 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.24 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.22 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.20 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.18 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 buildlink2-base:1.3 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.1 comdex-fall-1999:1.1 netbsd-1-4-PATCH001:1.1 netbsd-1-4-RELEASE:1.1; locks; strict; comment @# @; 1.3 date 2002.01.26.17.19.45; author kim; state dead; branches; next 1.2; 1.2 date 2000.03.02.00.23.15; author hubertf; state Exp; branches; next 1.1; 1.1 date 99.03.06.20.37.32; author kim; state Exp; branches; next ; desc @@ 1.3 log @Remove patch-cc -- it is no longer valid, but instead now breaks displaying MIME attachments of type message/* (e.g. message/rfc822). This is actually a long-standing bug in this package... @ text @$NetBSD: patch-cc,v 1.2 2000/03/02 00:23:15 hubertf Exp $ --- uip/show.c.orig Sun Sep 12 15:50:12 1999 +++ uip/show.c Thu Mar 2 00:47:34 2000 @@@@ -326,6 +326,15 @@@@ vec[++vecp] = NULL; } + /* If the "proc" is "mhshow", add "-file" if showing file or draft. + * Ruud de Rooij 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. @ 1.2 log @Update to V1.0.3, per request of our security officers: Versions prior to 1.0.3 of the nmh package contained a vulnerability where incoming mail messages with carefully designed MIME headers could cause nmh's mhshow command to execute arbitrary shell code. See the changelog for another 372 lines of changes. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @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) @ text @d3 4 a6 4 --- 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; @