From 2bab61b0b42468e309ea62fadb1562630bd24937 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Fri, 16 Mar 2007 03:50:53 +0000 Subject: [PATCH] Mention a limitation that was inherted from RFC1952, making it impossible to obtain correct file size from a file that is larger than 4GB before compression. PR: bin/110329 MFC after: 1 week --- usr.bin/gzip/gzip.1 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/usr.bin/gzip/gzip.1 b/usr.bin/gzip/gzip.1 index b9f3a3b2b2f5..16d715d8cffe 100644 --- a/usr.bin/gzip/gzip.1 +++ b/usr.bin/gzip/gzip.1 @@ -27,7 +27,7 @@ .\" SUCH DAMAGE. .\" .\" $FreeBSD$ -.Dd January 26, 2007 +.Dd March 16, 2007 .Dt GZIP 1 .Os .Sh NAME @@ -200,3 +200,11 @@ This implementation of .Nm was written by .An Matthew R. Green Aq mrg@eterna.com.au . +.Sh BUGS +According to RFC 1952, the recorded file size is stored in a 32-bit +integer and therefore it can not represent files that is bigger than +4GB in size. This limitation also applies to +.Fl l +option of +.Nm +utility.