The NetBSD Project

CVS log for src/usr.bin/gzip/unbzip2.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / gzip

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11.12.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:27:11 2010 UTC (3 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.11: +28 -8 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync to netbsd-5

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Wed Dec 9 04:58:15 2009 UTC (4 years, 4 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.11.6.1: +15 -4 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Pull up following revision(s) (requested by mrg in ticket #1182):
	usr.bin/gzip/unbzip2.c: revision 1.13
apply a change from Xin LI <delphij@delphij.net> to avoid problems when
reading from pipes.  introduced with the multi-part bz2 fixes.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Dec 5 03:23:37 2009 UTC (4 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, HEAD
Changes since 1.12: +15 -4 lines
Diff to previous 1.12 (colored)

apply a change from Xin LI <delphij@delphij.net> to avoid problems when
reading from pipes.  introduced with the multi-part bz2 fixes.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Sun Nov 8 22:51:56 2009 UTC (4 years, 5 months ago) by snj
Branch: netbsd-5
Changes since 1.11: +14 -5 lines
Diff to previous 1.11 (colored)

Pull up following revision(s) (requested by mrg in ticket #1131):
	usr.bin/gzip/unbzip2.c: revision 1.12
fix support for multi-section bzip2 files, as created by pbzip2.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Oct 11 05:17:20 2009 UTC (4 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.11: +14 -5 lines
Diff to previous 1.11 (colored)

fix support for multi-section bzip2 files, as created by pbzip2.

Revision 1.10.16.1 / (download) - annotate - [select for diffs], Sun May 18 12:36:06 2008 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.10: +1 -8 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:13 2008 UTC (5 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase
Branch point for: netbsd-5, matt-nb5-mips64
Changes since 1.10: +1 -8 lines
Diff to previous 1.10 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 3 08:20:03 2006 UTC (7 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42
Changes since 1.9: +37 -1 lines
Diff to previous 1.9 (colored)

Add standard TNF copyright boilerplate.

Revision 1.1.2.4.2.2 / (download) - annotate - [select for diffs], Wed Dec 14 04:06:59 2005 UTC (8 years, 4 months ago) by jmc
Branch: netbsd-2
Changes since 1.1.2.4.2.1: +2 -2 lines
Diff to previous 1.1.2.4.2.1 (colored) to branchpoint 1.1.2.4 (colored) next main 1.2 (colored)

Pullup rev 1.9 (requested by mrg in ticket #10172)

	Fix a few issues:
gzip -vt just prints the contents of a .Z file
gzip -vt will print OK even if the .gz file is corrupt
gzip -vt prints nothing with a .bz2 file
gzip can loop endlessly with a corrupt .bz2 file
Don't warn about >4GB files not having their size correctly stored.
PR#32105 PR#32070

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sun Nov 27 23:05:41 2005 UTC (8 years, 4 months ago) by riz
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.6.2.1: +2 -2 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Pull up following revision(s) (requested by mrg in ticket #1009):
	usr.bin/gzip/unbzip2.c: revision 1.9
	usr.bin/gzip/gzip.c: revision 1.78
	usr.bin/gzip/zuncompress.c: revision 1.6
apply a patch from onno van der linden in PR#32070 that fixes
these problems:
	1) gzip -vt just prints the contents of a .Z file
	2) gzip -vt will print OK even if the .gz file is corrupt
	3) gzip -vt prints nothing with a .bz2 file
	4) gzip can loop endlessly with a corrupt .bz2 file

Revision 1.9 / (download) - annotate - [select for diffs], Tue Nov 22 09:05:30 2005 UTC (8 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

apply a patch from onno van der linden in PR#32070 that fixes
these problems:
	1) gzip -vt just prints the contents of a .Z file
	2) gzip -vt will print OK even if the .gz file is corrupt
	3) gzip -vt prints nothing with a .bz2 file
	4) gzip can loop endlessly with a corrupt .bz2 file

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 15 09:11:30 2005 UTC (8 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.7: +6 -3 lines
Diff to previous 1.7 (colored)

fix signed/unsigned mismatch reported by Christian Biere in PR#31180
using his provided patch.

Revision 1.1.2.4.2.1 / (download) - annotate - [select for diffs], Sun Jul 24 21:21:17 2005 UTC (8 years, 8 months ago) by tron
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.1.2.4: +10 -8 lines
Diff to previous 1.1.2.4 (colored)

Apply patch (requested by riz in ticket #1111):
Synchronize gzip(1) with NetBSD-current.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Wed Jun 15 06:06:01 2005 UTC (8 years, 10 months ago) by snj
Branch: netbsd-3
CVS Tags: netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Pull up revision 1.7 (requested by lukem in ticket #421):
Fix numerous uninitalized variables.
Detected with gcc -Wuninitialized.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 2 01:51:58 2005 UTC (8 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Fix numerous uninitalized variables.
Detected with gcc -Wuninitialized.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Sep 5 21:32:30 2004 UTC (9 years, 7 months ago) by dsl
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.5: +9 -7 lines
Diff to previous 1.5 (colored)

The last commit slightly increased the size of gzip - I had thought that
    all the install media used the 'SMALL' variant, but this is not the case.
Redo the percentage print code to reduce the size to less than the old version.
Fix another fd leakage (didn't call fclose() if ferror() returned non-zero.
Change some maybe_warn() to maybe_warnx() in places I'm sure errno is undefined.
Call mayber_warn() earlier in other paths so that errno might still be valid.
Make the SMALL and NO_BZIP/COMPRESS_SUPPORT options all compile with WARNS=3.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Sun May 30 14:48:32 2004 UTC (9 years, 10 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Changes since 1.1.2.3: +18 -12 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Pull up revision 1.5 (requested by mrg in ticket #420):
- fix "gzip -t" to not output anything by default.  PR#25507
- fix any decompression on corrupted gzip files.  PR#25508
- ask to overwrite files if we have a tty, rather than failing the
  operation.  PR#25509.
- clean up maybe_err()/maybe_warn(): use maybe_err() only for fatal
  errors.  maybe_warn() is for processing errors.  this allows
  "gzip -d file1.gz file2.gz" to decompress file2.gz even if file1.gz
  is corrupted, etc.
- change the internal compressor/decompressor API to return "-1" on
  failure, not 0.  this allows for 0-sized files to be decompressed
  correctly.

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 25 04:34:40 2004 UTC (9 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.4: +18 -12 lines
Diff to previous 1.4 (colored)

- fix "gzip -t" to not output anything by default.  PR#25507
- fix any decompression on corrupted gzip files.  PR#25508
- ask to overwrite files if we have a tty, rather than failing the
  operation.  PR#25509.
- clean up maybe_err()/maybe_warn(): use maybe_err() only for fatal
  errors.  maybe_warn() is for processing errors.  this allows
  "gzip -d file1.gz file2.gz" to decompress file2.gz even if file1.gz
  is corrupted, etc.
- change the internal compressor/decompressor API to return "-1" on
  failure, not 0.  this allows for 0-sized files to be decompressed
  correctly.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu Apr 29 04:48:40 2004 UTC (9 years, 11 months ago) by jmc
Branch: netbsd-2-0
Changes since 1.1.2.2: +18 -14 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Pullup rev 1.4 (requested by mrg in ticket #223)

Mega patch fixes several issues & bugs in gzip:
- stdin bz2/compress support
- gzip -v pipe support
- various robustness issues
- no more .Sh BUGS in gzip.1

Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 25 16:20:33 2004 UTC (9 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.3: +18 -14 lines
Diff to previous 1.3 (colored)

significantly rototill.  don't use the high-level gzio functions
anymore, use the low-level inflate()/deflate() directly.  this
allows support file-type detection on stdin; now can decompress
.Z and .bz2 files fed to stdin (fixes PR#25192) additionally it
makes -v work with stdin or stdout (fixes PR#25215.)

(with these changes, we no longer need gzopenfull(3) in libz.)

thanks to martin@ for the code gzip.c:gz_uncompress() is based on.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Mar 31 09:09:20 2004 UTC (10 years ago) by grant
Branch: netbsd-2-0
Changes since 1.1.2.1: +62 -42 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Pull up revision 1.3 (requested by tron in ticket #21):

backout previous.  fix the bug it inspired instead.  we will want this
version of the code when doing file-type detection.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Wed Mar 31 09:05:36 2004 UTC (10 years ago) by grant
Branch: netbsd-2-0
Changes since 1.1: +42 -63 lines
Diff to previous 1.1 (colored)

Pull up revision 1.2 (requested by tron in ticket #21):

patch from tron@ to convert to using public bz interfaces.  simonb says
no reason not to and this fixes PR#24964.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 30 11:43:32 2004 UTC (10 years ago) by mrg
Branch: MAIN
Changes since 1.2: +61 -41 lines
Diff to previous 1.2 (colored)

backout previous.  fix the bug it inspired instead.  we will want this
version of the code when doing file-type detection.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 30 09:15:07 2004 UTC (10 years ago) by mrg
Branch: MAIN
Changes since 1.1: +42 -63 lines
Diff to previous 1.1 (colored)

patch from tron@ to convert to using public bz interfaces.  simonb says
no reason not to and this fixes PR#24964.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jan 1 02:44:09 2004 UTC (10 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0

port simonb's bzip2 support.
misc cleanups.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>