From owner-cvs-all Fri Apr 19 19:48:43 2002 Delivered-To: cvs-all@freebsd.org Received: from finntroll.newgold.net (Durham-ar1-4-64-252-019.dsl.genuity.net [4.64.252.19]) by hub.freebsd.org (Postfix) with SMTP id A0D8737B405 for ; Fri, 19 Apr 2002 19:48:37 -0700 (PDT) Received: (qmail 438 invoked by uid 1001); 20 Apr 2002 02:55:03 -0000 Date: Sat, 20 Apr 2002 02:55:03 +0000 From: "J. Mallett" To: "J. Mallett" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/uudecode uudecode.c Message-ID: <20020420025502.GG9585@FreeBSD.ORG> References: <200204200233.g3K2XU325853@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204200233.g3K2XU325853@freefall.freebsd.org> User-Agent: Mutt/1.3.27i Organisation: FreeBSD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Apr 19, 2002 at 07:33:30PM -0700, J. Mallett wrote: > jmallett 2002/04/19 19:33:30 PDT > > Modified files: > usr.bin/uudecode uudecode.c > Log: > base64_decode() was feeding \r and \n to the decoding function, and that > was causing output to be corrupted. Additionally, maybe libc/net/base64 stuff should iterate over carriage returns and line feeds? Given the type of input it would normally be fed, this behaviour might possibly be expected, and certainly not bad to have, yes? -- jmallett@FreeBSD.org | C, MIPS, POSIX, UNIX, BSD, IRC Geek. http://www.FreeBSD.org | The Power to Serve "We all need mirrors to remind ourselves who we are -- I'm no different." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message