From owner-cvs-src@FreeBSD.ORG Mon Mar 10 17:50:32 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AAA81065674; Mon, 10 Mar 2008 17:50:32 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 5DE208FC1C; Mon, 10 Mar 2008 17:50:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 234968808-1834499 for multiple; Mon, 10 Mar 2008 13:52:04 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m2AHoCCr087969; Mon, 10 Mar 2008 13:50:25 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Robert Watson Date: Mon, 10 Mar 2008 13:48:47 -0400 User-Agent: KMail/1.9.7 References: <200803091349.m29Dn91v003746@repoman.freebsd.org> <200803101244.52073.jhb@freebsd.org> <20080310171551.Y70549@fledge.watson.org> In-Reply-To: <20080310171551.Y70549@fledge.watson.org> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200803101348.47724.jhb@freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 10 Mar 2008 13:50:26 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/6192/Mon Mar 10 10:54:00 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.bin/gzip gzip.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 17:50:32 -0000 On Monday 10 March 2008 01:16:29 pm Robert Watson wrote: > > On Mon, 10 Mar 2008, John Baldwin wrote: > > >> usr.bin/gzip gzip.c > >> Log: > >> Teach gunzip that .tbz and .tbz2 uncompress to .tar, in a manner similar > > to > >> its existing understanding that .tgz uncompresses to .tar. > >> > >> MFC after: 3 days > >> PR: 121519 > >> Submitted by: Ighighi > >> > >> Revision Changes Path > >> 1.6 +2 -0 src/usr.bin/gzip/gzip.c > > > > So are we creating packages for ports that are compressed with gzip but > > using bzip names? Otherwise, gunzip should probably fail on a '.tbz' > > because it isn't a gzipped file (unless gunzip auto-invokes bunzip2 or some > > such feature that I'm not aware of). > > gunzip is smarter than you think. :-) Hmm. I guess I would consider it a user error to use gunzip on a bzip'd file (round peg, square hole sort of deal). However, that has more to do with the functionality (which I find surprising and perhaps a bit non-UNIX-ish) rather than this specific patch. -- John Baldwin