From owner-cvs-all Wed Feb 26 21:59:20 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86E1737B401; Wed, 26 Feb 2003 21:59:19 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2664243F75; Wed, 26 Feb 2003 21:59:19 -0800 (PST) (envelope-from fanf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1R5xI0U049438; Wed, 26 Feb 2003 21:59:18 -0800 (PST) (envelope-from fanf@repoman.freebsd.org) Received: (from fanf@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1R5xIg5049437; Wed, 26 Feb 2003 21:59:18 -0800 (PST) Message-Id: <200302270559.h1R5xIg5049437@repoman.freebsd.org> From: Tony Finch Date: Wed, 26 Feb 2003 21:59:18 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/uudecode uudecode.c X-FreeBSD-CVS-Branch: HEAD 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 fanf 2003/02/26 21:59:18 PST Modified files: usr.bin/uudecode uudecode.c Log: Pull some common uu/b64 code out into shared functions. Move some end-of-file checks out of the inner base64 loop, and remove the trailing whitespace stripper. The latter was added in rev 1.23 but the actual fix for the problem was in 1.24 -- b64_pton doesn't mind extra whitespace. (However there's a bogus comment in OpenSSH's uuencode.c that also mentions problems with trailing whitespace and b64_pton, but their real problem is the comment field in the key file.) Revision Changes Path 1.46 +44 -36 src/usr.bin/uudecode/uudecode.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message