Changes 1.5:

When encoding with FORCE_BINARY_IO mode in effect, the explicit "\r\n"
end of line sequence caused double carriage returns in the output,
because the output text file is subject to expansion of LF to CR/LF
line terminators.  I made the "eol" sequence conditional on
FORCE_BINARY, so that just a line feed is written to streams
which will expand it.
This commit is contained in:
adam 2007-12-16 16:14:32 +00:00
parent 6124d4d34f
commit 4b2a26a963
2 changed files with 9 additions and 11 deletions

View file

@ -1,8 +1,6 @@
# $NetBSD: Makefile,v 1.19 2006/12/19 13:34:56 rillig Exp $
#
# $NetBSD: Makefile,v 1.20 2007/12/16 16:14:32 adam Exp $
DISTNAME= base64-1.3
PKGREVISION= 1
DISTNAME= base64-1.5
CATEGORIES= converters
MASTER_SITES= http://www.fourmilab.ch/webtools/base64/
@ -12,10 +10,10 @@ COMMENT= Encode and decode base64 files
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
BUILD_TARGET= prog
GNU_CONFIGURE= yes
BUILD_TARGET= prog
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/base64 ${PREFIX}/bin

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.4 2005/02/23 16:12:33 agc Exp $
$NetBSD: distinfo,v 1.5 2007/12/16 16:14:32 adam Exp $
SHA1 (base64-1.3.tar.gz) = 41fa61f775b6bf518ca4dce416149f7f187505c1
RMD160 (base64-1.3.tar.gz) = 53b4df64ffcb9ac9ab82e672f1a309add8db58f9
Size (base64-1.3.tar.gz) = 177250 bytes
SHA1 (base64-1.5.tar.gz) = 25b5ae71c2818c7a489065ca1637806cd5109524
RMD160 (base64-1.5.tar.gz) = 37852c8ace20924b310119d600070a0552d516b4
Size (base64-1.5.tar.gz) = 223946 bytes