gnu/55452: gzip doesn't handle large files
andrew at amy.ugh.net.au
Sun Aug 10 21:21:01 PDT 2003
>Synopsis: gzip doesn't handle large files
>Arrival-Date: Sun Aug 10 21:20:22 PDT 2003
>Release: FreeBSD 5.1-CURRENT i386
System: FreeBSD amy.local 5.1-CURRENT FreeBSD 5.1-CURRENT #7: Fri Jul 25 00:40:38 GMT 2003 andrew at amy.local:/usr/obj/usr/src/sys/AMY i386
The gzip in the base system doesn't not cope with large files. I'm not sure
exactly when the file is considred large but I think it is when the
uncompressed files are > 2GB. gzip fails silently. zcat will just show the
first part of the file. gunzip will expand the first part of a file then
remove the .gz file, effectively deleting a lot of data - again producing no
zcat or gzip a large file...I have a large number of log files whose
uncompressed size is 2 - 4GB that all seem to exhibit the behaviour.
The gzip from the ports collection doesn't seem to have the problem so I'm
assuming its been fixed in later versions of gzip. Perhaps the version in the
base system can be upgraded.
Base system (non-working) gzip:
gzip 1.2.4 (18 Aug 93)
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H ASMV
Ports (working) gzip:
Copyright 2002 Free Software Foundation
Copyright 1992-1993 Jean-loup Gailly
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H HAVE_MEMORY_H HAVE_STRING_H HAVE_LSTAT ASMV
Written by Jean-loup Gailly.
More information about the freebsd-bugs