Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2011 10:38:22 -0700
From:      Xin LI <delphij@delphij.net>
To:        Pan Tsu <inyaoo@gmail.com>
Cc:        svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, Xin LI <delphij@FreeBSD.ORG>
Subject:   Re: svn commit: r222211 - head/usr.bin/gzip
Message-ID:  <4DDD3E8E.7090806@delphij.net>
In-Reply-To: <86vcwy67bm.fsf@gmail.com>
References:  <201105230940.p4N9eLQ1014007__26701.9700528637$1306143644$gmane$org@svn.freebsd.org> <86vcwy67bm.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090806040608030803070303
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi, Pan,

On 05/25/11 10:03, Pan Tsu wrote:
>>   Match symbolic link handling behavior with GNU gzip, bzip2 and xz:
> 
> After this change zcat(1) behaves unlike GNU zcat, bzcat and xzcat.
> 
>   $ zcat TIFFfree.3tiff.gz
>   zcat: TIFFfree.3tiff.gz is not a regular file
>   Exit 1

Will the attached patch help?

[...]
> At least our man(1) relies on foocat, e.g.
[...]
> and uses `-f' flag only when compression is not known/not compressed

I think this is a gzip(1) bug and thus it's not man(1) to be fixed.

However, that might indicate a different bug (thankfully it revealed the
gzip(1) one) in the TIFF port :)

Cheers,
- -- 
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!	       Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iQEcBAEBCAAGBQJN3T6NAAoJEATO+BI/yjfB/4YIALvCH1J1GvbHFXn8aN4msBnY
28RnaioHsOpABVwJJ4H6HR6hh3XEC/rU6LeQaCocZ3K+THkKc4+OvvLJwi/QEiLz
0i4zW/K0ZM3BrwjmCuoTHSNPCTkAAcEPiGQt2XjvgPRzAXOeQSI16ABbl98i6OeK
nT2ntP9izC4A0VR+YBPBYAjCi7u1Yers46fhjTEDi0ISpuKiONPeU32ZyIttee/U
j0uRc4PBxAsrGZTkhMn2qB3pVRIfQje+eUxB/yHQs3JwW9CIZ/VWprIlfn1S5Gr+
JPsNeBGRYWTUS2MJyn9uEmiMZvOzGO0rzATKgzyoP6yBrUCmSQhAO6DpkMTibj8=
=kLw1
-----END PGP SIGNATURE-----

--------------090806040608030803070303
Content-Type: text/plain;
 name="gzip.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="gzip.diff"

SW5kZXg6IHVzci5iaW4vZ3ppcC9nemlwLmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gdXNyLmJpbi9n
emlwL2d6aXAuYwkocmV2aXNpb24gMjIyMjY1KQorKysgdXNyLmJpbi9nemlwL2d6aXAuYwko
d29ya2luZyBjb3B5KQpAQCAtMTc4Miw3ICsxNzgyLDggQEAKIAl9CiAKIHJldHJ5OgotCWlm
IChzdGF0KHBhdGgsICZzYikgIT0gMCB8fCAoZmZsYWcgPT0gMCAmJiBsc3RhdChwYXRoLCAm
c2IpICE9IDApKSB7CisJaWYgKHN0YXQocGF0aCwgJnNiKSAhPSAwIHx8IChmZmxhZyA9PSAw
ICYmIGNmbGFnID09IDAgJiYKKwkgICAgbHN0YXQocGF0aCwgJnNiKSAhPSAwKSkgewogCQkv
KiBsZXRzIHRyeSA8cGF0aD4uZ3ogaWYgd2UncmUgZGVjb21wcmVzc2luZyAqLwogCQlpZiAo
ZGZsYWcgJiYgcyA9PSBOVUxMICYmIGVycm5vID09IEVOT0VOVCkgewogCQkJbGVuID0gc3Ry
bGVuKHBhdGgpOwo=
--------------090806040608030803070303--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DDD3E8E.7090806>