From owner-cvs-src-old@FreeBSD.ORG Sun Aug 29 11:58:18 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 256361065673 for ; Sun, 29 Aug 2010 11:58:18 +0000 (UTC) (envelope-from brian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 146968FC19 for ; Sun, 29 Aug 2010 11:58:18 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o7TBwHMh066493 for ; Sun, 29 Aug 2010 11:58:17 GMT (envelope-from brian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o7TBwH7G066492 for cvs-src-old@freebsd.org; Sun, 29 Aug 2010 11:58:17 GMT (envelope-from brian@repoman.freebsd.org) Message-Id: <201008291158.o7TBwH7G066492@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to brian@repoman.freebsd.org using -f From: Brian Somers Date: Sun, 29 Aug 2010 11:56:56 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/pax pax.1 tar.c src/tools/regression/bin/pax Makefile regress.t X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 11:58:18 -0000 brian 2010-08-29 11:56:56 UTC FreeBSD src repository Modified files: bin/pax pax.1 tar.c Added files: tools/regression/bin/pax Makefile regress.t Log: SVN rev 211963 on 2010-08-29 11:56:56Z by brian Correct an out-by-one error when earlying out ustar filenames that are too long. Filenames escaping this test are caught later on, so the bug doesn't cause any breakage. Document the correct ustar limitations in pax. As I have no access to the IEEE 1003.2 spec, I can only assume that the limitations imposed are in fact correct. Add regression tests for the filename limitations imposed by pax. MFC after: 3 weeks Revision Changes Path 1.38 +3 -1 src/bin/pax/pax.1 1.27 +1 -1 src/bin/pax/tar.c 1.1 +8 -0 src/tools/regression/bin/pax/Makefile (new) 1.1 +91 -0 src/tools/regression/bin/pax/regress.t (new)