diff options
| -rw-r--r-- | CHANGES | 9 | ||||
| -rw-r--r-- | LICENSE | 7 | ||||
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | Makefile-libbz2_so | 4 | ||||
| -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.c | 8 | ||||
| -rw-r--r-- | bzip2recover.c | 6 | ||||
| -rw-r--r-- | bzlib.c | 7 | ||||
| -rw-r--r-- | bzlib.h | 4 | ||||
| -rw-r--r-- | bzlib_private.h | 16 | ||||
| -rw-r--r-- | compress.c | 4 | ||||
| -rw-r--r-- | crctable.c | 4 | ||||
| -rw-r--r-- | decompress.c | 4 | ||||
| -rw-r--r-- | entities.xml | 6 | ||||
| -rwxr-xr-x | format.pl | 4 | ||||
| -rw-r--r-- | huffman.c | 4 | ||||
| -rw-r--r-- | manual.xml | 2 | ||||
| -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 |
25 files changed, 77 insertions, 61 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.4 of 20 December 2006 | 5 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 6 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 6 | Copyright (C) 1996-2007 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. |
| @@ -312,3 +312,8 @@ Fixes some minor bugs since the last version, 1.0.3. | |||
| 312 | 312 | ||
| 313 | * Fix minor doc/comment bugs. | 313 | * Fix minor doc/comment bugs. |
| 314 | 314 | ||
| 315 | |||
| 316 | 1.0.5 (10 Dec 07) | ||
| 317 | ~~~~~~~~~~~~~~~~~ | ||
| 318 | Security fix only. Fixes CERT-FI 20469 as it applies to bzip2. | ||
| 319 | |||
| @@ -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-2006 Julian R Seward. All | 5 | documentation, are copyright (C) 1996-2007 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 |
| @@ -36,8 +36,7 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | |||
| 36 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 36 | 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, Cambridge, UK. | 39 | Julian Seward, jseward@bzip.org |
| 40 | jseward@bzip.org | 40 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 41 | bzip2/libbzip2 version 1.0.4 of 20 December 2006 | ||
| 42 | 41 | ||
| 43 | -------------------------------------------------------------------------- | 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.4 of 20 December 2006 | 5 | # bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 6 | # Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 6 | # Copyright (C) 1996-2007 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.4 | 140 | DISTNAME=bzip2-1.0.5 |
| 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 2b65f3b..9a13c77 100644 --- a/Makefile-libbz2_so +++ b/Makefile-libbz2_so | |||
| @@ -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.4 of 20 December 2006 | 13 | # bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 14 | # Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 14 | # Copyright (C) 1996-2007 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. |
| @@ -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.4 of 20 December 2006 | 9 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 10 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 10 | Copyright (C) 1996-2007 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 | ||
| @@ -177,6 +177,10 @@ WHAT'S NEW IN 1.0.4 ? | |||
| 177 | 177 | ||
| 178 | See the CHANGES file. | 178 | See the CHANGES file. |
| 179 | 179 | ||
| 180 | WHAT'S NEW IN 1.0.5 ? | ||
| 181 | |||
| 182 | See the CHANGES file. | ||
| 183 | |||
| 180 | 184 | ||
| 181 | I hope you find bzip2 useful. Feel free to contact me at | 185 | I hope you find bzip2 useful. Feel free to contact me at |
| 182 | jseward@bzip.org | 186 | jseward@bzip.org |
| @@ -203,3 +207,4 @@ Cambridge, UK. | |||
| 203 | 30 December 2001 (bzip2, version 1.0.2pre1) | 207 | 30 December 2001 (bzip2, version 1.0.2pre1) |
| 204 | 15 February 2005 (bzip2, version 1.0.3) | 208 | 15 February 2005 (bzip2, version 1.0.3) |
| 205 | 20 December 2006 (bzip2, version 1.0.4) | 209 | 20 December 2006 (bzip2, version 1.0.4) |
| 210 | 10 December 2007 (bzip2, version 1.0.5) | ||
diff --git a/README.COMPILATION.PROBLEMS b/README.COMPILATION.PROBLEMS index 64ab586..22b95c6 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.4 of 20 December 2006 | 5 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 6 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 6 | Copyright (C) 1996-2007 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.4 should compile without problems on the vast majority of | 15 | bzip2-1.0.5 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 93bf405..1a5b4c5 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.4 of 20 December 2006 | 5 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 6 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 6 | Copyright (C) 1996-2007 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 8535c93..bd2dec1 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.4 of 20 December 2006 | 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 12 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2007 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. |
| @@ -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.4 of 20 December 2006 | 10 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 11 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 11 | Copyright (C) 1996-2007 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-2006 by Julian Seward.\n" | 1608 | " Copyright (C) 1996-2007 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.4 source distribution.\n" | 1612 | " in the bzip2-1.0.5 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" |
diff --git a/bzip2recover.c b/bzip2recover.c index ffe60bc..5f6d621 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.4 of 20 December 2006 | 10 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 11 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 11 | Copyright (C) 1996-2007 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.4: extracts blocks from damaged .bz2 files.\n" ); | 316 | "bzip2recover 1.0.5: 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.4 of 20 December 2006 | 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 12 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2007 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. |
| @@ -48,7 +48,7 @@ void BZ2_bz__AssertH__fail ( int errcode ) | |||
| 48 | "component, you should also report this bug to the author(s)\n" | 48 | "component, you should also report this bug to the author(s)\n" |
| 49 | "of that program. Please make an effort to report this bug;\n" | 49 | "of that program. Please make an effort to report this bug;\n" |
| 50 | "timely and accurate bug reports eventually lead to higher\n" | 50 | "timely and accurate bug reports eventually lead to higher\n" |
| 51 | "quality software. Thanks. Julian Seward, 15 February 2005.\n\n", | 51 | "quality software. Thanks. Julian Seward, 10 December 2007.\n\n", |
| 52 | errcode, | 52 | errcode, |
| 53 | BZ2_bzlibVersion() | 53 | BZ2_bzlibVersion() |
| 54 | ); | 54 | ); |
| @@ -598,6 +598,7 @@ Bool unRLE_obuf_to_output_FAST ( DState* s ) | |||
| 598 | UInt32 c_tPos = s->tPos; | 598 | UInt32 c_tPos = s->tPos; |
| 599 | char* cs_next_out = s->strm->next_out; | 599 | char* cs_next_out = s->strm->next_out; |
| 600 | unsigned int cs_avail_out = s->strm->avail_out; | 600 | unsigned int cs_avail_out = s->strm->avail_out; |
| 601 | Int32 ro_blockSize100k = s->blockSize100k; | ||
| 601 | /* end restore */ | 602 | /* end restore */ |
| 602 | 603 | ||
| 603 | UInt32 avail_out_INIT = cs_avail_out; | 604 | UInt32 avail_out_INIT = cs_avail_out; |
| @@ -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.4 of 20 December 2006 | 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 12 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2007 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 d0a0554..2342787 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.4 of 20 December 2006 | 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 12 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2007 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.4, 20-Dec-2006" | 39 | #define BZ_VERSION "1.0.5, 10-Dec-2007" |
| 40 | 40 | ||
| 41 | typedef char Char; | 41 | typedef char Char; |
| 42 | typedef unsigned char Bool; | 42 | typedef unsigned char Bool; |
| @@ -442,11 +442,15 @@ typedef | |||
| 442 | /*-- Macros for decompression. --*/ | 442 | /*-- Macros for decompression. --*/ |
| 443 | 443 | ||
| 444 | #define BZ_GET_FAST(cccc) \ | 444 | #define BZ_GET_FAST(cccc) \ |
| 445 | /* c_tPos is unsigned, hence test < 0 is pointless. */ \ | ||
| 446 | if (s->tPos >= (UInt32)100000 * (UInt32)s->blockSize100k) return True; \ | ||
| 445 | s->tPos = s->tt[s->tPos]; \ | 447 | s->tPos = s->tt[s->tPos]; \ |
| 446 | cccc = (UChar)(s->tPos & 0xff); \ | 448 | cccc = (UChar)(s->tPos & 0xff); \ |
| 447 | s->tPos >>= 8; | 449 | s->tPos >>= 8; |
| 448 | 450 | ||
| 449 | #define BZ_GET_FAST_C(cccc) \ | 451 | #define BZ_GET_FAST_C(cccc) \ |
| 452 | /* c_tPos is unsigned, hence test < 0 is pointless. */ \ | ||
| 453 | if (c_tPos >= (UInt32)100000 * (UInt32)ro_blockSize100k) return True; \ | ||
| 450 | c_tPos = c_tt[c_tPos]; \ | 454 | c_tPos = c_tt[c_tPos]; \ |
| 451 | cccc = (UChar)(c_tPos & 0xff); \ | 455 | cccc = (UChar)(c_tPos & 0xff); \ |
| 452 | c_tPos >>= 8; | 456 | c_tPos >>= 8; |
| @@ -469,8 +473,10 @@ typedef | |||
| 469 | (((UInt32)s->ll16[i]) | (GET_LL4(i) << 16)) | 473 | (((UInt32)s->ll16[i]) | (GET_LL4(i) << 16)) |
| 470 | 474 | ||
| 471 | #define BZ_GET_SMALL(cccc) \ | 475 | #define BZ_GET_SMALL(cccc) \ |
| 472 | cccc = BZ2_indexIntoF ( s->tPos, s->cftab ); \ | 476 | /* c_tPos is unsigned, hence test < 0 is pointless. */ \ |
| 473 | s->tPos = GET_LL(s->tPos); | 477 | if (s->tPos >= (UInt32)100000 * (UInt32)s->blockSize100k) return True; \ |
| 478 | cccc = BZ2_indexIntoF ( s->tPos, s->cftab ); \ | ||
| 479 | s->tPos = GET_LL(s->tPos); | ||
| 474 | 480 | ||
| 475 | 481 | ||
| 476 | /*-- externs for decompression. --*/ | 482 | /*-- externs for decompression. --*/ |
| @@ -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.4 of 20 December 2006 | 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 12 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2007 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.4 of 20 December 2006 | 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 12 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2007 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 124cc8d..bba5e0f 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.4 of 20 December 2006 | 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 12 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2007 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/entities.xml b/entities.xml index ce2b70d..e9e0553 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-2006"> | 4 | <!ENTITY bz-lifespan "1996-2007"> |
| 5 | 5 | ||
| 6 | <!ENTITY bz-version "1.0.4"> | 6 | <!ENTITY bz-version "1.0.5"> |
| 7 | <!ENTITY bz-date "20 December 2006"> | 7 | <!ENTITY bz-date "10 December 2007"> |
| 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.4 of 20 December 2006 | 7 | # bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 8 | # Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 8 | # Copyright (C) 1996-2007 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.4 of 20 December 2006 | 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 12 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2007 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.4</title> | 12 | <title>bzip2 and libbzip2, version 1.0.5</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> |
| @@ -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.4 of 20 December 2006 | 12 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 13 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 13 | Copyright (C) 1996-2007 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 d186335..068b763 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.4 of 20 December 2006 | 11 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 12 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 12 | Copyright (C) 1996-2007 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.4 of 20 December 2006 | 16 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 17 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 17 | Copyright (C) 1996-2007 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.4 of 20 December 2006 | 20 | bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 21 | Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 21 | Copyright (C) 1996-2007 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.4 of 20 December 2006 | 8 | # bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
| 9 | # Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org> | 9 | # Copyright (C) 1996-2007 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. |
