diff options
| author | Julian Seward <jseward@acm.org> | 2010-09-06 22:13:13 +0200 |
|---|---|---|
| committer | Julian Seward <jseward@acm.org> | 2010-09-06 22:13:13 +0200 |
| commit | 962d60610cb31e0f294a834e55ebb355be55d05a (patch) | |
| tree | cc51e3c187bc5ec107aa08701ef9702abb5f8570 | |
| parent | a1d78c550180bde11af6c559a01721c962f9f231 (diff) | |
| download | bzip2-1.0.6.tar.gz bzip2-1.0.6.tar.bz2 bzip2-1.0.6.zip | |
bzip2-1.0.6bzip2-1.0.6
| -rw-r--r-- | CHANGES | 12 | ||||
| -rw-r--r-- | LICENSE | 4 | ||||
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | Makefile-libbz2_so | 14 | ||||
| -rw-r--r-- | README | 9 | ||||
| -rw-r--r-- | README.COMPILATION.PROBLEMS | 6 | ||||
| -rw-r--r-- | README.XML.STUFF | 4 | ||||
| -rw-r--r-- | blocksort.c | 4 | ||||
| -rw-r--r-- | bzip2.1 | 6 | ||||
| -rw-r--r-- | bzip2.1.preformatted | 6 | ||||
| -rw-r--r-- | bzip2.c | 8 | ||||
| -rw-r--r-- | bzip2.txt | 6 | ||||
| -rw-r--r-- | bzip2recover.c | 6 | ||||
| -rw-r--r-- | bzlib.c | 4 | ||||
| -rw-r--r-- | bzlib.h | 4 | ||||
| -rw-r--r-- | bzlib_private.h | 6 | ||||
| -rw-r--r-- | compress.c | 4 | ||||
| -rw-r--r-- | crctable.c | 4 | ||||
| -rw-r--r-- | decompress.c | 24 | ||||
| -rw-r--r-- | entities.xml | 6 | ||||
| -rwxr-xr-x | format.pl | 4 | ||||
| -rw-r--r-- | huffman.c | 4 | ||||
| -rw-r--r-- | manual.xml | 40 | ||||
| -rw-r--r-- | mk251.c | 4 | ||||
| -rw-r--r-- | randtable.c | 4 | ||||
| -rw-r--r-- | spewG.c | 4 | ||||
| -rw-r--r-- | unzcrash.c | 4 | ||||
| -rwxr-xr-x | xmlproc.sh | 4 |
28 files changed, 122 insertions, 89 deletions
| @@ -2,8 +2,8 @@ | |||
| 2 | This file is part of bzip2/libbzip2, a program and library for | 2 | This file is part of bzip2/libbzip2, a program and library for |
| 3 | lossless, block-sorting data compression. | 3 | lossless, block-sorting data compression. |
| 4 | 4 | ||
| 5 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 5 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 6 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 6 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 7 | 7 | ||
| 8 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 8 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 9 | README file. | 9 | README file. |
| @@ -317,3 +317,11 @@ Fixes some minor bugs since the last version, 1.0.3. | |||
| 317 | ~~~~~~~~~~~~~~~~~ | 317 | ~~~~~~~~~~~~~~~~~ |
| 318 | Security fix only. Fixes CERT-FI 20469 as it applies to bzip2. | 318 | Security fix only. Fixes CERT-FI 20469 as it applies to bzip2. |
| 319 | 319 | ||
| 320 | |||
| 321 | 1.0.6 (6 Sept 10) | ||
| 322 | ~~~~~~~~~~~~~~~~~ | ||
| 323 | |||
| 324 | * Security fix for CVE-2010-0405. This was reported by Mikolaj | ||
| 325 | Izdebski. | ||
| 326 | |||
| 327 | * Make the documentation build on Ubuntu 10.04 | ||
| @@ -2,7 +2,7 @@ | |||
| 2 | -------------------------------------------------------------------------- | 2 | -------------------------------------------------------------------------- |
| 3 | 3 | ||
| 4 | This program, "bzip2", the associated library "libbzip2", and all | 4 | This program, "bzip2", the associated library "libbzip2", and all |
| 5 | documentation, are copyright (C) 1996-2007 Julian R Seward. All | 5 | documentation, are copyright (C) 1996-2010 Julian R Seward. All |
| 6 | rights reserved. | 6 | rights reserved. |
| 7 | 7 | ||
| 8 | Redistribution and use in source and binary forms, with or without | 8 | Redistribution and use in source and binary forms, with or without |
| @@ -37,6 +37,6 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |||
| 37 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 37 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 38 | 38 | ||
| 39 | Julian Seward, jseward@bzip.org | 39 | Julian Seward, jseward@bzip.org |
| 40 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 40 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 41 | 41 | ||
| 42 | -------------------------------------------------------------------------- | 42 | -------------------------------------------------------------------------- |
| @@ -2,8 +2,8 @@ | |||
| 2 | # This file is part of bzip2/libbzip2, a program and library for | 2 | # This file is part of bzip2/libbzip2, a program and library for |
| 3 | # lossless, block-sorting data compression. | 3 | # lossless, block-sorting data compression. |
| 4 | # | 4 | # |
| 5 | # bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 5 | # bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 6 | # Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 6 | # Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 7 | # | 7 | # |
| 8 | # Please read the WARNING, DISCLAIMER and PATENTS sections in the | 8 | # Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 9 | # README file. | 9 | # README file. |
| @@ -137,7 +137,7 @@ bzip2recover.o: bzip2recover.c | |||
| 137 | distclean: clean | 137 | distclean: clean |
| 138 | rm -f manual.ps manual.html manual.pdf | 138 | rm -f manual.ps manual.html manual.pdf |
| 139 | 139 | ||
| 140 | DISTNAME=bzip2-1.0.5 | 140 | DISTNAME=bzip2-1.0.6 |
| 141 | dist: check manual | 141 | dist: check manual |
| 142 | rm -f $(DISTNAME) | 142 | rm -f $(DISTNAME) |
| 143 | ln -s -f . $(DISTNAME) | 143 | ln -s -f . $(DISTNAME) |
diff --git a/Makefile-libbz2_so b/Makefile-libbz2_so index 9a13c77..e58791b 100644 --- a/Makefile-libbz2_so +++ b/Makefile-libbz2_so | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | 1 | ||
| 2 | # This Makefile builds a shared version of the library, | 2 | # This Makefile builds a shared version of the library, |
| 3 | # libbz2.so.1.0.4, with soname libbz2.so.1.0, | 3 | # libbz2.so.1.0.6, with soname libbz2.so.1.0, |
| 4 | # at least on x86-Linux (RedHat 7.2), | 4 | # at least on x86-Linux (RedHat 7.2), |
| 5 | # with gcc-2.96 20000731 (Red Hat Linux 7.1 2.96-98). | 5 | # with gcc-2.96 20000731 (Red Hat Linux 7.1 2.96-98). |
| 6 | # Please see the README file for some important info | 6 | # Please see the README file for some important info |
| @@ -10,8 +10,8 @@ | |||
| 10 | # This file is part of bzip2/libbzip2, a program and library for | 10 | # This file is part of bzip2/libbzip2, a program and library for |
| 11 | # lossless, block-sorting data compression. | 11 | # lossless, block-sorting data compression. |
| 12 | # | 12 | # |
| 13 | # bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 13 | # bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 14 | # Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 14 | # Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 15 | # | 15 | # |
| 16 | # Please read the WARNING, DISCLAIMER and PATENTS sections in the | 16 | # Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 17 | # README file. | 17 | # README file. |
| @@ -35,13 +35,13 @@ OBJS= blocksort.o \ | |||
| 35 | bzlib.o | 35 | bzlib.o |
| 36 | 36 | ||
| 37 | all: $(OBJS) | 37 | all: $(OBJS) |
| 38 | $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 $(OBJS) | 38 | $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.6 $(OBJS) |
| 39 | $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.4 | 39 | $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.6 |
| 40 | rm -f libbz2.so.1.0 | 40 | rm -f libbz2.so.1.0 |
| 41 | ln -s libbz2.so.1.0.4 libbz2.so.1.0 | 41 | ln -s libbz2.so.1.0.6 libbz2.so.1.0 |
| 42 | 42 | ||
| 43 | clean: | 43 | clean: |
| 44 | rm -f $(OBJS) bzip2.o libbz2.so.1.0.4 libbz2.so.1.0 bzip2-shared | 44 | rm -f $(OBJS) bzip2.o libbz2.so.1.0.6 libbz2.so.1.0 bzip2-shared |
| 45 | 45 | ||
| 46 | blocksort.o: blocksort.c | 46 | blocksort.o: blocksort.c |
| 47 | $(CC) $(CFLAGS) -c blocksort.c | 47 | $(CC) $(CFLAGS) -c blocksort.c |
| @@ -6,8 +6,8 @@ This version is fully compatible with the previous public releases. | |||
| 6 | This file is part of bzip2/libbzip2, a program and library for | 6 | This file is part of bzip2/libbzip2, a program and library for |
| 7 | lossless, block-sorting data compression. | 7 | lossless, block-sorting data compression. |
| 8 | 8 | ||
| 9 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 9 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 10 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 10 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 11 | 11 | ||
| 12 | Please read the WARNING, DISCLAIMER and PATENTS sections in this file. | 12 | Please read the WARNING, DISCLAIMER and PATENTS sections in this file. |
| 13 | 13 | ||
| @@ -181,6 +181,10 @@ WHAT'S NEW IN 1.0.5 ? | |||
| 181 | 181 | ||
| 182 | See the CHANGES file. | 182 | See the CHANGES file. |
| 183 | 183 | ||
| 184 | WHAT'S NEW IN 1.0.6 ? | ||
| 185 | |||
| 186 | See the CHANGES file. | ||
| 187 | |||
| 184 | 188 | ||
| 185 | I hope you find bzip2 useful. Feel free to contact me at | 189 | I hope you find bzip2 useful. Feel free to contact me at |
| 186 | jseward@bzip.org | 190 | jseward@bzip.org |
| @@ -208,3 +212,4 @@ Cambridge, UK. | |||
| 208 | 15 February 2005 (bzip2, version 1.0.3) | 212 | 15 February 2005 (bzip2, version 1.0.3) |
| 209 | 20 December 2006 (bzip2, version 1.0.4) | 213 | 20 December 2006 (bzip2, version 1.0.4) |
| 210 | 10 December 2007 (bzip2, version 1.0.5) | 214 | 10 December 2007 (bzip2, version 1.0.5) |
| 215 | 6 Sept 2010 (bzip2, version 1.0.6) | ||
diff --git a/README.COMPILATION.PROBLEMS b/README.COMPILATION.PROBLEMS index 22b95c6..667d0d6 100644 --- a/README.COMPILATION.PROBLEMS +++ b/README.COMPILATION.PROBLEMS | |||
| @@ -2,8 +2,8 @@ | |||
| 2 | This file is part of bzip2/libbzip2, a program and library for | 2 | This file is part of bzip2/libbzip2, a program and library for |
| 3 | lossless, block-sorting data compression. | 3 | lossless, block-sorting data compression. |
| 4 | 4 | ||
| 5 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 5 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 6 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 6 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 7 | 7 | ||
| 8 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 8 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 9 | README file. | 9 | README file. |
| @@ -12,7 +12,7 @@ This program is released under the terms of the license contained | |||
| 12 | in the file LICENSE. | 12 | in the file LICENSE. |
| 13 | ------------------------------------------------------------------ | 13 | ------------------------------------------------------------------ |
| 14 | 14 | ||
| 15 | bzip2-1.0.5 should compile without problems on the vast majority of | 15 | bzip2-1.0.6 should compile without problems on the vast majority of |
| 16 | platforms. Using the supplied Makefile, I've built and tested it | 16 | platforms. Using the supplied Makefile, I've built and tested it |
| 17 | myself for x86-linux and amd64-linux. With makefile.msc, Visual C++ | 17 | myself for x86-linux and amd64-linux. With makefile.msc, Visual C++ |
| 18 | 6.0 and nmake, you can build a native Win32 version too. Large file | 18 | 6.0 and nmake, you can build a native Win32 version too. Large file |
diff --git a/README.XML.STUFF b/README.XML.STUFF index 1a5b4c5..3a57f3f 100644 --- a/README.XML.STUFF +++ b/README.XML.STUFF | |||
| @@ -2,8 +2,8 @@ | |||
| 2 | This file is part of bzip2/libbzip2, a program and library for | 2 | This file is part of bzip2/libbzip2, a program and library for |
| 3 | lossless, block-sorting data compression. | 3 | lossless, block-sorting data compression. |
| 4 | 4 | ||
| 5 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 5 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 6 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 6 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 7 | 7 | ||
| 8 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 8 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 9 | README file. | 9 | README file. |
diff --git a/blocksort.c b/blocksort.c index bd2dec1..d0d662c 100644 --- a/blocksort.c +++ b/blocksort.c | |||
| @@ -8,8 +8,8 @@ | |||
| 8 | This file is part of bzip2/libbzip2, a program and library for | 8 | This file is part of bzip2/libbzip2, a program and library for |
| 9 | lossless, block-sorting data compression. | 9 | lossless, block-sorting data compression. |
| 10 | 10 | ||
| 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 11 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 12 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 13 | 13 | ||
| 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 15 | README file. | 15 | README file. |
| @@ -1,7 +1,7 @@ | |||
| 1 | .PU | 1 | .PU |
| 2 | .TH bzip2 1 | 2 | .TH bzip2 1 |
| 3 | .SH NAME | 3 | .SH NAME |
| 4 | bzip2, bunzip2 \- a block-sorting file compressor, v1.0.4 | 4 | bzip2, bunzip2 \- a block-sorting file compressor, v1.0.6 |
| 5 | .br | 5 | .br |
| 6 | bzcat \- decompresses files to stdout | 6 | bzcat \- decompresses files to stdout |
| 7 | .br | 7 | .br |
| @@ -405,11 +405,11 @@ I/O error messages are not as helpful as they could be. | |||
| 405 | tries hard to detect I/O errors and exit cleanly, but the details of | 405 | tries hard to detect I/O errors and exit cleanly, but the details of |
| 406 | what the problem is sometimes seem rather misleading. | 406 | what the problem is sometimes seem rather misleading. |
| 407 | 407 | ||
| 408 | This manual page pertains to version 1.0.4 of | 408 | This manual page pertains to version 1.0.6 of |
| 409 | .I bzip2. | 409 | .I bzip2. |
| 410 | Compressed data created by this version is entirely forwards and | 410 | Compressed data created by this version is entirely forwards and |
| 411 | backwards compatible with the previous public releases, versions | 411 | backwards compatible with the previous public releases, versions |
| 412 | 0.1pl2, 0.9.0, 0.9.5, 1.0.0, 1.0.1, 1.0.2 and 1.0.3, but with the following | 412 | 0.1pl2, 0.9.0, 0.9.5, 1.0.0, 1.0.1, 1.0.2 and above, but with the following |
| 413 | exception: 0.9.0 and above can correctly decompress multiple | 413 | exception: 0.9.0 and above can correctly decompress multiple |
| 414 | concatenated compressed files. 0.1pl2 cannot do this; it will stop | 414 | concatenated compressed files. 0.1pl2 cannot do this; it will stop |
| 415 | after decompressing just the first file in the stream. | 415 | after decompressing just the first file in the stream. |
diff --git a/bzip2.1.preformatted b/bzip2.1.preformatted index 15e16e5..63c33be 100644 --- a/bzip2.1.preformatted +++ b/bzip2.1.preformatted | |||
| @@ -3,7 +3,7 @@ bzip2(1) bzip2(1) | |||
| 3 | 3 | ||
| 4 | 4 | ||
| 5 | NNAAMMEE | 5 | NNAAMMEE |
| 6 | bzip2, bunzip2 − a block‐sorting file compressor, v1.0.4 | 6 | bzip2, bunzip2 − a block‐sorting file compressor, v1.0.6 |
| 7 | bzcat − decompresses files to stdout | 7 | bzcat − decompresses files to stdout |
| 8 | bzip2recover − recovers data from damaged bzip2 files | 8 | bzip2recover − recovers data from damaged bzip2 files |
| 9 | 9 | ||
| @@ -348,11 +348,11 @@ CCAAVVEEAATTSS | |||
| 348 | but the details of what the problem is sometimes seem | 348 | but the details of what the problem is sometimes seem |
| 349 | rather misleading. | 349 | rather misleading. |
| 350 | 350 | ||
| 351 | This manual page pertains to version 1.0.4 of _b_z_i_p_2_. Com | 351 | This manual page pertains to version 1.0.6 of _b_z_i_p_2_. Com |
| 352 | pressed data created by this version is entirely forwards | 352 | pressed data created by this version is entirely forwards |
| 353 | and backwards compatible with the previous public | 353 | and backwards compatible with the previous public |
| 354 | releases, versions 0.1pl2, 0.9.0, 0.9.5, 1.0.0, 1.0.1, | 354 | releases, versions 0.1pl2, 0.9.0, 0.9.5, 1.0.0, 1.0.1, |
| 355 | 1.0.2 and 1.0.3, but with the following exception: 0.9.0 | 355 | 1.0.2 and above, but with the following exception: 0.9.0 |
| 356 | and above can correctly decompress multiple concatenated | 356 | and above can correctly decompress multiple concatenated |
| 357 | compressed files. 0.1pl2 cannot do this; it will stop | 357 | compressed files. 0.1pl2 cannot do this; it will stop |
| 358 | after decompressing just the first file in the stream. | 358 | after decompressing just the first file in the stream. |
| @@ -7,8 +7,8 @@ | |||
| 7 | This file is part of bzip2/libbzip2, a program and library for | 7 | This file is part of bzip2/libbzip2, a program and library for |
| 8 | lossless, block-sorting data compression. | 8 | lossless, block-sorting data compression. |
| 9 | 9 | ||
| 10 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 10 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 11 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 11 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 12 | 12 | ||
| 13 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 13 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 14 | README file. | 14 | README file. |
| @@ -1605,11 +1605,11 @@ void license ( void ) | |||
| 1605 | "bzip2, a block-sorting file compressor. " | 1605 | "bzip2, a block-sorting file compressor. " |
| 1606 | "Version %s.\n" | 1606 | "Version %s.\n" |
| 1607 | " \n" | 1607 | " \n" |
| 1608 | " Copyright (C) 1996-2007 by Julian Seward.\n" | 1608 | " Copyright (C) 1996-2010 by Julian Seward.\n" |
| 1609 | " \n" | 1609 | " \n" |
| 1610 | " This program is free software; you can redistribute it and/or modify\n" | 1610 | " This program is free software; you can redistribute it and/or modify\n" |
| 1611 | " it under the terms set out in the LICENSE file, which is included\n" | 1611 | " it under the terms set out in the LICENSE file, which is included\n" |
| 1612 | " in the bzip2-1.0.5 source distribution.\n" | 1612 | " in the bzip2-1.0.6 source distribution.\n" |
| 1613 | " \n" | 1613 | " \n" |
| 1614 | " This program is distributed in the hope that it will be useful,\n" | 1614 | " This program is distributed in the hope that it will be useful,\n" |
| 1615 | " but WITHOUT ANY WARRANTY; without even the implied warranty of\n" | 1615 | " but WITHOUT ANY WARRANTY; without even the implied warranty of\n" |
| @@ -1,6 +1,6 @@ | |||
| 1 | 1 | ||
| 2 | NAME | 2 | NAME |
| 3 | bzip2, bunzip2 - a block-sorting file compressor, v1.0.4 | 3 | bzip2, bunzip2 - a block-sorting file compressor, v1.0.6 |
| 4 | bzcat - decompresses files to stdout | 4 | bzcat - decompresses files to stdout |
| 5 | bzip2recover - recovers data from damaged bzip2 files | 5 | bzip2recover - recovers data from damaged bzip2 files |
| 6 | 6 | ||
| @@ -345,11 +345,11 @@ CAVEATS | |||
| 345 | but the details of what the problem is sometimes seem | 345 | but the details of what the problem is sometimes seem |
| 346 | rather misleading. | 346 | rather misleading. |
| 347 | 347 | ||
| 348 | This manual page pertains to version 1.0.4 of bzip2. Com- | 348 | This manual page pertains to version 1.0.6 of bzip2. Com- |
| 349 | pressed data created by this version is entirely forwards | 349 | pressed data created by this version is entirely forwards |
| 350 | and backwards compatible with the previous public | 350 | and backwards compatible with the previous public |
| 351 | releases, versions 0.1pl2, 0.9.0, 0.9.5, 1.0.0, 1.0.1, | 351 | releases, versions 0.1pl2, 0.9.0, 0.9.5, 1.0.0, 1.0.1, |
| 352 | 1.0.2 and 1.0.3, but with the following exception: 0.9.0 | 352 | 1.0.2 and above, but with the following exception: 0.9.0 |
| 353 | and above can correctly decompress multiple concatenated | 353 | and above can correctly decompress multiple concatenated |
| 354 | compressed files. 0.1pl2 cannot do this; it will stop | 354 | compressed files. 0.1pl2 cannot do this; it will stop |
| 355 | after decompressing just the first file in the stream. | 355 | after decompressing just the first file in the stream. |
diff --git a/bzip2recover.c b/bzip2recover.c index 5f6d621..f9de049 100644 --- a/bzip2recover.c +++ b/bzip2recover.c | |||
| @@ -7,8 +7,8 @@ | |||
| 7 | This file is part of bzip2/libbzip2, a program and library for | 7 | This file is part of bzip2/libbzip2, a program and library for |
| 8 | lossless, block-sorting data compression. | 8 | lossless, block-sorting data compression. |
| 9 | 9 | ||
| 10 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 10 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 11 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 11 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 12 | 12 | ||
| 13 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 13 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 14 | README file. | 14 | README file. |
| @@ -313,7 +313,7 @@ Int32 main ( Int32 argc, Char** argv ) | |||
| 313 | inFileName[0] = outFileName[0] = 0; | 313 | inFileName[0] = outFileName[0] = 0; |
| 314 | 314 | ||
| 315 | fprintf ( stderr, | 315 | fprintf ( stderr, |
| 316 | "bzip2recover 1.0.5: extracts blocks from damaged .bz2 files.\n" ); | 316 | "bzip2recover 1.0.6: extracts blocks from damaged .bz2 files.\n" ); |
| 317 | 317 | ||
| 318 | if (argc != 2) { | 318 | if (argc != 2) { |
| 319 | fprintf ( stderr, "%s: usage is `%s damaged_file_name'.\n", | 319 | fprintf ( stderr, "%s: usage is `%s damaged_file_name'.\n", |
| @@ -8,8 +8,8 @@ | |||
| 8 | This file is part of bzip2/libbzip2, a program and library for | 8 | This file is part of bzip2/libbzip2, a program and library for |
| 9 | lossless, block-sorting data compression. | 9 | lossless, block-sorting data compression. |
| 10 | 10 | ||
| 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 11 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 12 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 13 | 13 | ||
| 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 15 | README file. | 15 | README file. |
| @@ -8,8 +8,8 @@ | |||
| 8 | This file is part of bzip2/libbzip2, a program and library for | 8 | This file is part of bzip2/libbzip2, a program and library for |
| 9 | lossless, block-sorting data compression. | 9 | lossless, block-sorting data compression. |
| 10 | 10 | ||
| 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 11 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 12 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 13 | 13 | ||
| 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 15 | README file. | 15 | README file. |
diff --git a/bzlib_private.h b/bzlib_private.h index 2342787..5d0217f 100644 --- a/bzlib_private.h +++ b/bzlib_private.h | |||
| @@ -8,8 +8,8 @@ | |||
| 8 | This file is part of bzip2/libbzip2, a program and library for | 8 | This file is part of bzip2/libbzip2, a program and library for |
| 9 | lossless, block-sorting data compression. | 9 | lossless, block-sorting data compression. |
| 10 | 10 | ||
| 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 11 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 12 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 13 | 13 | ||
| 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 15 | README file. | 15 | README file. |
| @@ -36,7 +36,7 @@ | |||
| 36 | 36 | ||
| 37 | /*-- General stuff. --*/ | 37 | /*-- General stuff. --*/ |
| 38 | 38 | ||
| 39 | #define BZ_VERSION "1.0.5, 10-Dec-2007" | 39 | #define BZ_VERSION "1.0.6, 6-Sept-2010" |
| 40 | 40 | ||
| 41 | typedef char Char; | 41 | typedef char Char; |
| 42 | typedef unsigned char Bool; | 42 | typedef unsigned char Bool; |
| @@ -8,8 +8,8 @@ | |||
| 8 | This file is part of bzip2/libbzip2, a program and library for | 8 | This file is part of bzip2/libbzip2, a program and library for |
| 9 | lossless, block-sorting data compression. | 9 | lossless, block-sorting data compression. |
| 10 | 10 | ||
| 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 11 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 12 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 13 | 13 | ||
| 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 15 | README file. | 15 | README file. |
| @@ -8,8 +8,8 @@ | |||
| 8 | This file is part of bzip2/libbzip2, a program and library for | 8 | This file is part of bzip2/libbzip2, a program and library for |
| 9 | lossless, block-sorting data compression. | 9 | lossless, block-sorting data compression. |
| 10 | 10 | ||
| 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 11 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 12 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 13 | 13 | ||
| 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 15 | README file. | 15 | README file. |
diff --git a/decompress.c b/decompress.c index bba5e0f..311f566 100644 --- a/decompress.c +++ b/decompress.c | |||
| @@ -8,8 +8,8 @@ | |||
| 8 | This file is part of bzip2/libbzip2, a program and library for | 8 | This file is part of bzip2/libbzip2, a program and library for |
| 9 | lossless, block-sorting data compression. | 9 | lossless, block-sorting data compression. |
| 10 | 10 | ||
| 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 11 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 12 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 13 | 13 | ||
| 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 15 | README file. | 15 | README file. |
| @@ -381,6 +381,13 @@ Int32 BZ2_decompress ( DState* s ) | |||
| 381 | es = -1; | 381 | es = -1; |
| 382 | N = 1; | 382 | N = 1; |
| 383 | do { | 383 | do { |
| 384 | /* Check that N doesn't get too big, so that es doesn't | ||
| 385 | go negative. The maximum value that can be | ||
| 386 | RUNA/RUNB encoded is equal to the block size (post | ||
| 387 | the initial RLE), viz, 900k, so bounding N at 2 | ||
| 388 | million should guard against overflow without | ||
| 389 | rejecting any legitimate inputs. */ | ||
| 390 | if (N >= 2*1024*1024) RETURN(BZ_DATA_ERROR); | ||
| 384 | if (nextSym == BZ_RUNA) es = es + (0+1) * N; else | 391 | if (nextSym == BZ_RUNA) es = es + (0+1) * N; else |
| 385 | if (nextSym == BZ_RUNB) es = es + (1+1) * N; | 392 | if (nextSym == BZ_RUNB) es = es + (1+1) * N; |
| 386 | N = N * 2; | 393 | N = N * 2; |
| @@ -485,15 +492,28 @@ Int32 BZ2_decompress ( DState* s ) | |||
| 485 | RETURN(BZ_DATA_ERROR); | 492 | RETURN(BZ_DATA_ERROR); |
| 486 | 493 | ||
| 487 | /*-- Set up cftab to facilitate generation of T^(-1) --*/ | 494 | /*-- Set up cftab to facilitate generation of T^(-1) --*/ |
| 495 | /* Check: unzftab entries in range. */ | ||
| 496 | for (i = 0; i <= 255; i++) { | ||
| 497 | if (s->unzftab[i] < 0 || s->unzftab[i] > nblock) | ||
| 498 | RETURN(BZ_DATA_ERROR); | ||
| 499 | } | ||
| 500 | /* Actually generate cftab. */ | ||
| 488 | s->cftab[0] = 0; | 501 | s->cftab[0] = 0; |
| 489 | for (i = 1; i <= 256; i++) s->cftab[i] = s->unzftab[i-1]; | 502 | for (i = 1; i <= 256; i++) s->cftab[i] = s->unzftab[i-1]; |
| 490 | for (i = 1; i <= 256; i++) s->cftab[i] += s->cftab[i-1]; | 503 | for (i = 1; i <= 256; i++) s->cftab[i] += s->cftab[i-1]; |
| 504 | /* Check: cftab entries in range. */ | ||
| 491 | for (i = 0; i <= 256; i++) { | 505 | for (i = 0; i <= 256; i++) { |
| 492 | if (s->cftab[i] < 0 || s->cftab[i] > nblock) { | 506 | if (s->cftab[i] < 0 || s->cftab[i] > nblock) { |
| 493 | /* s->cftab[i] can legitimately be == nblock */ | 507 | /* s->cftab[i] can legitimately be == nblock */ |
| 494 | RETURN(BZ_DATA_ERROR); | 508 | RETURN(BZ_DATA_ERROR); |
| 495 | } | 509 | } |
| 496 | } | 510 | } |
| 511 | /* Check: cftab entries non-descending. */ | ||
| 512 | for (i = 1; i <= 256; i++) { | ||
| 513 | if (s->cftab[i-1] > s->cftab[i]) { | ||
| 514 | RETURN(BZ_DATA_ERROR); | ||
| 515 | } | ||
| 516 | } | ||
| 497 | 517 | ||
| 498 | s->state_out_len = 0; | 518 | s->state_out_len = 0; |
| 499 | s->state_out_ch = 0; | 519 | s->state_out_ch = 0; |
diff --git a/entities.xml b/entities.xml index e9e0553..4b28f34 100644 --- a/entities.xml +++ b/entities.xml | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | <!-- misc. strings --> | 1 | <!-- misc. strings --> |
| 2 | <!ENTITY bz-url "http://www.bzip.org"> | 2 | <!ENTITY bz-url "http://www.bzip.org"> |
| 3 | <!ENTITY bz-email "jseward@bzip.org"> | 3 | <!ENTITY bz-email "jseward@bzip.org"> |
| 4 | <!ENTITY bz-lifespan "1996-2007"> | 4 | <!ENTITY bz-lifespan "1996-2010"> |
| 5 | 5 | ||
| 6 | <!ENTITY bz-version "1.0.5"> | 6 | <!ENTITY bz-version "1.0.6"> |
| 7 | <!ENTITY bz-date "10 December 2007"> | 7 | <!ENTITY bz-date "6 September 2010"> |
| 8 | 8 | ||
| 9 | <!ENTITY manual-title "bzip2 Manual"> | 9 | <!ENTITY manual-title "bzip2 Manual"> |
| @@ -4,8 +4,8 @@ | |||
| 4 | # This file is part of bzip2/libbzip2, a program and library for | 4 | # This file is part of bzip2/libbzip2, a program and library for |
| 5 | # lossless, block-sorting data compression. | 5 | # lossless, block-sorting data compression. |
| 6 | # | 6 | # |
| 7 | # bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 7 | # bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 8 | # Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 8 | # Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 9 | # | 9 | # |
| 10 | # Please read the WARNING, DISCLAIMER and PATENTS sections in the | 10 | # Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 11 | # README file. | 11 | # README file. |
| @@ -8,8 +8,8 @@ | |||
| 8 | This file is part of bzip2/libbzip2, a program and library for | 8 | This file is part of bzip2/libbzip2, a program and library for |
| 9 | lossless, block-sorting data compression. | 9 | lossless, block-sorting data compression. |
| 10 | 10 | ||
| 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 11 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 12 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 13 | 13 | ||
| 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 15 | README file. | 15 | README file. |
| @@ -9,7 +9,7 @@ | |||
| 9 | <book lang="en" id="userman" xreflabel="bzip2 Manual"> | 9 | <book lang="en" id="userman" xreflabel="bzip2 Manual"> |
| 10 | 10 | ||
| 11 | <bookinfo> | 11 | <bookinfo> |
| 12 | <title>bzip2 and libbzip2, version 1.0.5</title> | 12 | <title>bzip2 and libbzip2, version 1.0.6</title> |
| 13 | <subtitle>A program and library for data compression</subtitle> | 13 | <subtitle>A program and library for data compression</subtitle> |
| 14 | <copyright> | 14 | <copyright> |
| 15 | <year>&bz-lifespan;</year> | 15 | <year>&bz-lifespan;</year> |
| @@ -139,7 +139,7 @@ else.</para> | |||
| 139 | 139 | ||
| 140 | <listitem><para><computeroutput>bzip2</computeroutput>, | 140 | <listitem><para><computeroutput>bzip2</computeroutput>, |
| 141 | <computeroutput>bunzip2</computeroutput> - a block-sorting file | 141 | <computeroutput>bunzip2</computeroutput> - a block-sorting file |
| 142 | compressor, v1.0.4</para></listitem> | 142 | compressor, v1.0.6</para></listitem> |
| 143 | 143 | ||
| 144 | <listitem><para><computeroutput>bzcat</computeroutput> - | 144 | <listitem><para><computeroutput>bzcat</computeroutput> - |
| 145 | decompresses files to stdout</para></listitem> | 145 | decompresses files to stdout</para></listitem> |
| @@ -1033,7 +1033,7 @@ kind.</para> | |||
| 1033 | 1033 | ||
| 1034 | 1034 | ||
| 1035 | <sect2 id="bzcompress-init" xreflabel="BZ2_bzCompressInit"> | 1035 | <sect2 id="bzcompress-init" xreflabel="BZ2_bzCompressInit"> |
| 1036 | <title><computeroutput>BZ2_bzCompressInit</computeroutput></title> | 1036 | <title>BZ2_bzCompressInit</title> |
| 1037 | 1037 | ||
| 1038 | <programlisting> | 1038 | <programlisting> |
| 1039 | typedef struct { | 1039 | typedef struct { |
| @@ -1183,7 +1183,7 @@ BZ2_bzCompress | |||
| 1183 | 1183 | ||
| 1184 | 1184 | ||
| 1185 | <sect2 id="bzCompress" xreflabel="BZ2_bzCompress"> | 1185 | <sect2 id="bzCompress" xreflabel="BZ2_bzCompress"> |
| 1186 | <title><computeroutput>BZ2_bzCompress</computeroutput></title> | 1186 | <title>BZ2_bzCompress</title> |
| 1187 | 1187 | ||
| 1188 | <programlisting> | 1188 | <programlisting> |
| 1189 | int BZ2_bzCompress ( bz_stream *strm, int action ); | 1189 | int BZ2_bzCompress ( bz_stream *strm, int action ); |
| @@ -1408,7 +1408,7 @@ BZ_PARAM_ERROR | |||
| 1408 | 1408 | ||
| 1409 | 1409 | ||
| 1410 | <sect2 id="bzCompress-end" xreflabel="BZ2_bzCompressEnd"> | 1410 | <sect2 id="bzCompress-end" xreflabel="BZ2_bzCompressEnd"> |
| 1411 | <title><computeroutput>BZ2_bzCompressEnd</computeroutput></title> | 1411 | <title>BZ2_bzCompressEnd</title> |
| 1412 | 1412 | ||
| 1413 | <programlisting> | 1413 | <programlisting> |
| 1414 | int BZ2_bzCompressEnd ( bz_stream *strm ); | 1414 | int BZ2_bzCompressEnd ( bz_stream *strm ); |
| @@ -1428,7 +1428,7 @@ BZ_OK otherwise | |||
| 1428 | 1428 | ||
| 1429 | 1429 | ||
| 1430 | <sect2 id="bzDecompress-init" xreflabel="BZ2_bzDecompressInit"> | 1430 | <sect2 id="bzDecompress-init" xreflabel="BZ2_bzDecompressInit"> |
| 1431 | <title><computeroutput>BZ2_bzDecompressInit</computeroutput></title> | 1431 | <title>BZ2_bzDecompressInit</title> |
| 1432 | 1432 | ||
| 1433 | <programlisting> | 1433 | <programlisting> |
| 1434 | int BZ2_bzDecompressInit ( bz_stream *strm, int verbosity, int small ); | 1434 | int BZ2_bzDecompressInit ( bz_stream *strm, int verbosity, int small ); |
| @@ -1492,7 +1492,7 @@ BZ2_bzDecompress | |||
| 1492 | 1492 | ||
| 1493 | 1493 | ||
| 1494 | <sect2 id="bzDecompress" xreflabel="BZ2_bzDecompress"> | 1494 | <sect2 id="bzDecompress" xreflabel="BZ2_bzDecompress"> |
| 1495 | <title><computeroutput>BZ2_bzDecompress</computeroutput></title> | 1495 | <title>BZ2_bzDecompress</title> |
| 1496 | 1496 | ||
| 1497 | <programlisting> | 1497 | <programlisting> |
| 1498 | int BZ2_bzDecompress ( bz_stream *strm ); | 1498 | int BZ2_bzDecompress ( bz_stream *strm ); |
| @@ -1587,7 +1587,7 @@ BZ2_bzDecompressEnd | |||
| 1587 | 1587 | ||
| 1588 | 1588 | ||
| 1589 | <sect2 id="bzDecompress-end" xreflabel="BZ2_bzDecompressEnd"> | 1589 | <sect2 id="bzDecompress-end" xreflabel="BZ2_bzDecompressEnd"> |
| 1590 | <title><computeroutput>BZ2_bzDecompressEnd</computeroutput></title> | 1590 | <title>BZ2_bzDecompressEnd</title> |
| 1591 | 1591 | ||
| 1592 | <programlisting> | 1592 | <programlisting> |
| 1593 | int BZ2_bzDecompressEnd ( bz_stream *strm ); | 1593 | int BZ2_bzDecompressEnd ( bz_stream *strm ); |
| @@ -1682,7 +1682,7 @@ general points.</para> | |||
| 1682 | 1682 | ||
| 1683 | 1683 | ||
| 1684 | <sect2 id="bzreadopen" xreflabel="BZ2_bzReadOpen"> | 1684 | <sect2 id="bzreadopen" xreflabel="BZ2_bzReadOpen"> |
| 1685 | <title><computeroutput>BZ2_bzReadOpen</computeroutput></title> | 1685 | <title>BZ2_bzReadOpen</title> |
| 1686 | 1686 | ||
| 1687 | <programlisting> | 1687 | <programlisting> |
| 1688 | typedef void BZFILE; | 1688 | typedef void BZFILE; |
| @@ -1765,7 +1765,7 @@ BZ2_bzClose | |||
| 1765 | 1765 | ||
| 1766 | 1766 | ||
| 1767 | <sect2 id="bzread" xreflabel="BZ2_bzRead"> | 1767 | <sect2 id="bzread" xreflabel="BZ2_bzRead"> |
| 1768 | <title><computeroutput>BZ2_bzRead</computeroutput></title> | 1768 | <title>BZ2_bzRead</title> |
| 1769 | 1769 | ||
| 1770 | <programlisting> | 1770 | <programlisting> |
| 1771 | int BZ2_bzRead ( int *bzerror, BZFILE *b, void *buf, int len ); | 1771 | int BZ2_bzRead ( int *bzerror, BZFILE *b, void *buf, int len ); |
| @@ -1859,7 +1859,7 @@ BZ2_bzReadClose | |||
| 1859 | 1859 | ||
| 1860 | 1860 | ||
| 1861 | <sect2 id="bzreadgetunused" xreflabel="BZ2_bzReadGetUnused"> | 1861 | <sect2 id="bzreadgetunused" xreflabel="BZ2_bzReadGetUnused"> |
| 1862 | <title><computeroutput>BZ2_bzReadGetUnused</computeroutput></title> | 1862 | <title>BZ2_bzReadGetUnused</title> |
| 1863 | 1863 | ||
| 1864 | <programlisting> | 1864 | <programlisting> |
| 1865 | void BZ2_bzReadGetUnused( int* bzerror, BZFILE *b, | 1865 | void BZ2_bzReadGetUnused( int* bzerror, BZFILE *b, |
| @@ -1903,7 +1903,7 @@ BZ2_bzReadClose | |||
| 1903 | 1903 | ||
| 1904 | 1904 | ||
| 1905 | <sect2 id="bzreadclose" xreflabel="BZ2_bzReadClose"> | 1905 | <sect2 id="bzreadclose" xreflabel="BZ2_bzReadClose"> |
| 1906 | <title><computeroutput>BZ2_bzReadClose</computeroutput></title> | 1906 | <title>BZ2_bzReadClose</title> |
| 1907 | 1907 | ||
| 1908 | <programlisting> | 1908 | <programlisting> |
| 1909 | void BZ2_bzReadClose ( int *bzerror, BZFILE *b ); | 1909 | void BZ2_bzReadClose ( int *bzerror, BZFILE *b ); |
| @@ -1937,7 +1937,7 @@ none | |||
| 1937 | 1937 | ||
| 1938 | 1938 | ||
| 1939 | <sect2 id="bzwriteopen" xreflabel="BZ2_bzWriteOpen"> | 1939 | <sect2 id="bzwriteopen" xreflabel="BZ2_bzWriteOpen"> |
| 1940 | <title><computeroutput>BZ2_bzWriteOpen</computeroutput></title> | 1940 | <title>BZ2_bzWriteOpen</title> |
| 1941 | 1941 | ||
| 1942 | <programlisting> | 1942 | <programlisting> |
| 1943 | BZFILE *BZ2_bzWriteOpen( int *bzerror, FILE *f, | 1943 | BZFILE *BZ2_bzWriteOpen( int *bzerror, FILE *f, |
| @@ -2003,7 +2003,7 @@ BZ2_bzWriteClose | |||
| 2003 | 2003 | ||
| 2004 | 2004 | ||
| 2005 | <sect2 id="bzwrite" xreflabel="BZ2_bzWrite"> | 2005 | <sect2 id="bzwrite" xreflabel="BZ2_bzWrite"> |
| 2006 | <title><computeroutput>BZ2_bzWrite</computeroutput></title> | 2006 | <title>BZ2_bzWrite</title> |
| 2007 | 2007 | ||
| 2008 | <programlisting> | 2008 | <programlisting> |
| 2009 | void BZ2_bzWrite ( int *bzerror, BZFILE *b, void *buf, int len ); | 2009 | void BZ2_bzWrite ( int *bzerror, BZFILE *b, void *buf, int len ); |
| @@ -2031,7 +2031,7 @@ BZ_OK | |||
| 2031 | 2031 | ||
| 2032 | 2032 | ||
| 2033 | <sect2 id="bzwriteclose" xreflabel="BZ2_bzWriteClose"> | 2033 | <sect2 id="bzwriteclose" xreflabel="BZ2_bzWriteClose"> |
| 2034 | <title><computeroutput>BZ2_bzWriteClose</computeroutput></title> | 2034 | <title>BZ2_bzWriteClose</title> |
| 2035 | 2035 | ||
| 2036 | <programlisting> | 2036 | <programlisting> |
| 2037 | void BZ2_bzWriteClose( int *bzerror, BZFILE* f, | 2037 | void BZ2_bzWriteClose( int *bzerror, BZFILE* f, |
| @@ -2235,7 +2235,7 @@ if ( bzerror != BZ_STREAM_END ) { | |||
| 2235 | 2235 | ||
| 2236 | 2236 | ||
| 2237 | <sect2 id="bzbufftobuffcompress" xreflabel="BZ2_bzBuffToBuffCompress"> | 2237 | <sect2 id="bzbufftobuffcompress" xreflabel="BZ2_bzBuffToBuffCompress"> |
| 2238 | <title><computeroutput>BZ2_bzBuffToBuffCompress</computeroutput></title> | 2238 | <title>BZ2_bzBuffToBuffCompress</title> |
| 2239 | 2239 | ||
| 2240 | <programlisting> | 2240 | <programlisting> |
| 2241 | int BZ2_bzBuffToBuffCompress( char* dest, | 2241 | int BZ2_bzBuffToBuffCompress( char* dest, |
| @@ -2302,7 +2302,7 @@ BZ_OK | |||
| 2302 | 2302 | ||
| 2303 | 2303 | ||
| 2304 | <sect2 id="bzbufftobuffdecompress" xreflabel="BZ2_bzBuffToBuffDecompress"> | 2304 | <sect2 id="bzbufftobuffdecompress" xreflabel="BZ2_bzBuffToBuffDecompress"> |
| 2305 | <title><computeroutput>BZ2_bzBuffToBuffDecompress</computeroutput></title> | 2305 | <title>BZ2_bzBuffToBuffDecompress</title> |
| 2306 | 2306 | ||
| 2307 | <programlisting> | 2307 | <programlisting> |
| 2308 | int BZ2_bzBuffToBuffDecompress( char* dest, | 2308 | int BZ2_bzBuffToBuffDecompress( char* dest, |
| @@ -2377,7 +2377,7 @@ BZ_OK | |||
| 2377 | 2377 | ||
| 2378 | 2378 | ||
| 2379 | <sect1 id="zlib-compat" xreflabel="zlib compatibility functions"> | 2379 | <sect1 id="zlib-compat" xreflabel="zlib compatibility functions"> |
| 2380 | <title><computeroutput>zlib</computeroutput> compatibility functions</title> | 2380 | <title>zlib compatibility functions</title> |
| 2381 | 2381 | ||
| 2382 | <para>Yoshioka Tsuneo has contributed some functions to give | 2382 | <para>Yoshioka Tsuneo has contributed some functions to give |
| 2383 | better <computeroutput>zlib</computeroutput> compatibility. | 2383 | better <computeroutput>zlib</computeroutput> compatibility. |
| @@ -2444,11 +2444,11 @@ value.</para> | |||
| 2444 | 2444 | ||
| 2445 | <sect1 id="stdio-free" | 2445 | <sect1 id="stdio-free" |
| 2446 | xreflabel="Using the library in a stdio-free environment"> | 2446 | xreflabel="Using the library in a stdio-free environment"> |
| 2447 | <title>Using the library in a <computeroutput>stdio</computeroutput>-free environment</title> | 2447 | <title>Using the library in a stdio-free environment</title> |
| 2448 | 2448 | ||
| 2449 | 2449 | ||
| 2450 | <sect2 id="stdio-bye" xreflabel="Getting rid of stdio"> | 2450 | <sect2 id="stdio-bye" xreflabel="Getting rid of stdio"> |
| 2451 | <title>Getting rid of <computeroutput>stdio</computeroutput></title> | 2451 | <title>Getting rid of stdio</title> |
| 2452 | 2452 | ||
| 2453 | <para>In a deeply embedded application, you might want to use | 2453 | <para>In a deeply embedded application, you might want to use |
| 2454 | just the memory-to-memory functions. You can do this | 2454 | just the memory-to-memory functions. You can do this |
| @@ -9,8 +9,8 @@ | |||
| 9 | This file is part of bzip2/libbzip2, a program and library for | 9 | This file is part of bzip2/libbzip2, a program and library for |
| 10 | lossless, block-sorting data compression. | 10 | lossless, block-sorting data compression. |
| 11 | 11 | ||
| 12 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 12 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 13 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 13 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 14 | 14 | ||
| 15 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 15 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 16 | README file. | 16 | README file. |
diff --git a/randtable.c b/randtable.c index 068b763..6d62459 100644 --- a/randtable.c +++ b/randtable.c | |||
| @@ -8,8 +8,8 @@ | |||
| 8 | This file is part of bzip2/libbzip2, a program and library for | 8 | This file is part of bzip2/libbzip2, a program and library for |
| 9 | lossless, block-sorting data compression. | 9 | lossless, block-sorting data compression. |
| 10 | 10 | ||
| 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 11 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 12 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 13 | 13 | ||
| 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 14 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 15 | README file. | 15 | README file. |
| @@ -13,8 +13,8 @@ | |||
| 13 | This file is part of bzip2/libbzip2, a program and library for | 13 | This file is part of bzip2/libbzip2, a program and library for |
| 14 | lossless, block-sorting data compression. | 14 | lossless, block-sorting data compression. |
| 15 | 15 | ||
| 16 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 16 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 17 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 17 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 18 | 18 | ||
| 19 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 19 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 20 | README file. | 20 | README file. |
| @@ -17,8 +17,8 @@ | |||
| 17 | This file is part of bzip2/libbzip2, a program and library for | 17 | This file is part of bzip2/libbzip2, a program and library for |
| 18 | lossless, block-sorting data compression. | 18 | lossless, block-sorting data compression. |
| 19 | 19 | ||
| 20 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 20 | bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 21 | Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 21 | Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 22 | 22 | ||
| 23 | Please read the WARNING, DISCLAIMER and PATENTS sections in the | 23 | Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 24 | README file. | 24 | README file. |
| @@ -5,8 +5,8 @@ | |||
| 5 | # This file is part of bzip2/libbzip2, a program and library for | 5 | # This file is part of bzip2/libbzip2, a program and library for |
| 6 | # lossless, block-sorting data compression. | 6 | # lossless, block-sorting data compression. |
| 7 | # | 7 | # |
| 8 | # bzip2/libbzip2 version 1.0.5 of 10 December 2007 | 8 | # bzip2/libbzip2 version 1.0.6 of 6 September 2010 |
| 9 | # Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org> | 9 | # Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org> |
| 10 | # | 10 | # |
| 11 | # Please read the WARNING, DISCLAIMER and PATENTS sections in the | 11 | # Please read the WARNING, DISCLAIMER and PATENTS sections in the |
| 12 | # README file. | 12 | # README file. |
