cvs commit: src/usr.bin/gzip gzip.c

Robert Watson rwatson at
Mon Mar 10 17:16:30 UTC 2008

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 <ighighi at>
>>   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. :-)

Robert N M Watson
Computer Laboratory
University of Cambridge

More information about the cvs-src mailing list