head	1.2;
access;
symbols
	pkgsrc-2013Q2:1.2.0.54
	pkgsrc-2013Q2-base:1.2
	pkgsrc-2012Q4:1.2.0.52
	pkgsrc-2012Q4-base:1.2
	pkgsrc-2011Q4:1.2.0.50
	pkgsrc-2011Q4-base:1.2
	pkgsrc-2011Q2:1.2.0.48
	pkgsrc-2011Q2-base:1.2
	pkgsrc-2009Q4:1.2.0.46
	pkgsrc-2009Q4-base:1.2
	pkgsrc-2008Q4:1.2.0.44
	pkgsrc-2008Q4-base:1.2
	pkgsrc-2008Q3:1.2.0.42
	pkgsrc-2008Q3-base:1.2
	cube-native-xorg:1.2.0.40
	cube-native-xorg-base:1.2
	pkgsrc-2008Q2:1.2.0.38
	pkgsrc-2008Q2-base:1.2
	pkgsrc-2008Q1:1.2.0.36
	pkgsrc-2008Q1-base:1.2
	pkgsrc-2007Q4:1.2.0.34
	pkgsrc-2007Q4-base:1.2
	pkgsrc-2007Q3:1.2.0.32
	pkgsrc-2007Q3-base:1.2
	pkgsrc-2007Q2:1.2.0.30
	pkgsrc-2007Q2-base:1.2
	pkgsrc-2007Q1:1.2.0.28
	pkgsrc-2007Q1-base:1.2
	pkgsrc-2006Q4:1.2.0.26
	pkgsrc-2006Q4-base:1.2
	pkgsrc-2006Q3:1.2.0.24
	pkgsrc-2006Q3-base:1.2
	pkgsrc-2006Q2:1.2.0.22
	pkgsrc-2006Q2-base:1.2
	pkgsrc-2006Q1:1.2.0.20
	pkgsrc-2006Q1-base:1.2
	pkgsrc-2005Q4:1.2.0.18
	pkgsrc-2005Q4-base:1.2
	pkgsrc-2005Q3:1.2.0.16
	pkgsrc-2005Q3-base:1.2
	pkgsrc-2005Q2:1.2.0.14
	pkgsrc-2005Q2-base:1.2
	pkgsrc-2005Q1:1.2.0.12
	pkgsrc-2005Q1-base:1.2
	pkgsrc-2004Q4:1.2.0.10
	pkgsrc-2004Q4-base:1.2
	pkgsrc-2004Q3:1.2.0.8
	pkgsrc-2004Q3-base:1.2
	pkgsrc-2004Q2:1.2.0.6
	pkgsrc-2004Q2-base:1.2
	pkgsrc-2004Q1:1.2.0.4
	pkgsrc-2004Q1-base:1.2
	pkgsrc-2003Q4:1.2.0.2
	pkgsrc-2003Q4-base:1.2
	buildlink2-base:1.2
	netbsd-1-3-PATCH002:1.1.1.1
	FreeBSD-current-1997-10-28:1.1.1.1
	FREEBSD:1.1.1;
locks; strict;
comment	@# @;


1.2
date	98.07.19.03.39.18;	author tv;	state dead;
branches;
next	1.1;

1.1
date	97.11.22.05.27.58;	author hubertf;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.11.22.05.27.58;	author hubertf;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update pine to 4.00.  Get libpico by using the libpico installed by the
pico-3.0 pkg.
@
text
@*** pine/send.c.orig	Tue Feb 25 00:57:38 1997
--- pine/send.c	Sun Jul 20 02:50:31 1997
***************
*** 5352,5364 ****
  		body->subtype = cpystr("octet-stream");
  	    }
  
  	    /*
  	     * Apply maximal encoding regardless of previous
  	     * setting.  This segment's either not text, or is 
  	     * unlikely to be readable with > 30% of the
  	     * text encoded anyway, so we might as well save space...
  	     */
! 	    new_encoding = ENCBINARY;   /*  > 30% 8 bit chars */
  	}
      }
  
--- 5352,5367 ----
  		body->subtype = cpystr("octet-stream");
  	    }
  
+ 	    if(body->type == TYPETEXT)
+ 	      new_encoding = ENC8BIT;
+ 	    else
  	    /*
  	     * Apply maximal encoding regardless of previous
  	     * setting.  This segment's either not text, or is 
  	     * unlikely to be readable with > 30% of the
  	     * text encoded anyway, so we might as well save space...
  	     */
! 	      new_encoding = ENCBINARY;   /*  > 30% 8 bit chars */
  	}
      }
  
***************
*** 6113,6119 ****
  
  	switch (body->encoding) {	/* all else needs filtering */
  	  case ENC8BIT:			/* encode 8BIT into QUOTED-PRINTABLE */
! 	    gf_link_filter(gf_8bit_qp);
  	    break;
  
  	  case ENCBINARY:		/* encode binary into BASE64 */
--- 6116,6123 ----
  
  	switch (body->encoding) {	/* all else needs filtering */
  	  case ENC8BIT:			/* encode 8BIT into QUOTED-PRINTABLE */
! 	    if(F_OFF(F_ENABLE_8BIT, ps_global))
! 		gf_link_filter(gf_8bit_qp);
  	    break;
  
  	  case ENCBINARY:		/* encode binary into BASE64 */
***************
*** 6172,6178 ****
        sprintf (*dst += strlen (*dst), "Content-Transfer-Encoding: %s\015\012",
  	       body_encodings[(body->encoding == ENCBINARY)
  				? ENCBASE64
! 				: (body->encoding == ENC8BIT)
  				    ? ENCQUOTEDPRINTABLE
  				    : (body->encoding <= ENCMAX)
  					? body->encoding : ENCOTHER]);
--- 6176,6182 ----
        sprintf (*dst += strlen (*dst), "Content-Transfer-Encoding: %s\015\012",
  	       body_encodings[(body->encoding == ENCBINARY)
  				? ENCBASE64
! 				: (body->encoding == ENC8BIT && F_OFF(F_ENABLE_8BIT, ps_global))
  				    ? ENCQUOTEDPRINTABLE
  				    : (body->encoding <= ENCMAX)
  					? body->encoding : ENCOTHER]);
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@MUA
@
text
@@
