Changeset 186 for bzip2


Ignore:
Timestamp:
Oct 30, 2010, 3:24:42 PM (14 years ago)
Author:
Yuri Dario
Message:

bzip2: vendor trunk update to 1.0.6.

Location:
bzip2/vendor/current
Files:
31 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified bzip2/vendor/current/CHANGES

    r75 r186  
    33 lossless, block-sorting data compression.
    44
    5  bzip2/libbzip2 version 1.0.5 of 10 December 2007
    6  Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     5 bzip2/libbzip2 version 1.0.6 of 6 September 2010
     6 Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    77
    88 Please read the WARNING, DISCLAIMER and PATENTS sections in the
     
    318318Security fix only.  Fixes CERT-FI 20469 as it applies to bzip2.
    319319
     320
     3211.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
  • TabularUnified bzip2/vendor/current/LICENSE

    r75 r186  
    33
    44This program, "bzip2", the associated library "libbzip2", and all
    5 documentation, are copyright (C) 1996-2007 Julian R Seward.  All
     5documentation, are copyright (C) 1996-2010 Julian R Seward.  All
    66rights reserved.
    77
     
    3838
    3939Julian Seward, jseward@bzip.org
    40 bzip2/libbzip2 version 1.0.5 of 10 December 2007
     40bzip2/libbzip2 version 1.0.6 of 6 September 2010
    4141
    4242--------------------------------------------------------------------------
  • TabularUnified bzip2/vendor/current/Makefile

    r75 r186  
    33# lossless, block-sorting data compression.
    44#
    5 # bzip2/libbzip2 version 1.0.5 of 10 December 2007
    6 # Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     5# bzip2/libbzip2 version 1.0.6 of 6 September 2010
     6# Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    77#
    88# Please read the WARNING, DISCLAIMER and PATENTS sections in the
     
    138138        rm -f manual.ps manual.html manual.pdf
    139139
    140 DISTNAME=bzip2-1.0.5
     140DISTNAME=bzip2-1.0.6
    141141dist: check manual
    142142        rm -f $(DISTNAME)
  • TabularUnified bzip2/vendor/current/Makefile-libbz2_so

    r75 r186  
    11
    22# 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,
    44# at least on x86-Linux (RedHat 7.2),
    55# with gcc-2.96 20000731 (Red Hat Linux 7.1 2.96-98). 
     
    1111# lossless, block-sorting data compression.
    1212#
    13 # bzip2/libbzip2 version 1.0.5 of 10 December 2007
    14 # Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     13# bzip2/libbzip2 version 1.0.6 of 6 September 2010
     14# Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1515#
    1616# Please read the WARNING, DISCLAIMER and PATENTS sections in the
     
    3636
    3737all: $(OBJS)
    38         $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 $(OBJS)
    39         $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.4
     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.6
    4040        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
    4242
    4343clean:
    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
    4545
    4646blocksort.o: blocksort.c
  • TabularUnified bzip2/vendor/current/README

    r75 r186  
    77lossless, block-sorting data compression.
    88
    9 bzip2/libbzip2 version 1.0.5 of 10 December 2007
    10 Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     9bzip2/libbzip2 version 1.0.6 of 6 September 2010
     10Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1111
    1212Please read the WARNING, DISCLAIMER and PATENTS sections in this file.
     
    179179
    180180WHAT'S NEW IN 1.0.5 ?
     181
     182   See the CHANGES file.
     183
     184WHAT'S NEW IN 1.0.6 ?
    181185
    182186   See the CHANGES file.
     
    20921320 December 2006 (bzip2, version 1.0.4)
    21021410 December 2007 (bzip2, version 1.0.5)
     215 6     Sept 2010 (bzip2, version 1.0.6)
  • TabularUnified bzip2/vendor/current/README.COMPILATION.PROBLEMS

    r75 r186  
    33lossless, block-sorting data compression.
    44
    5 bzip2/libbzip2 version 1.0.5 of 10 December 2007
    6 Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     5bzip2/libbzip2 version 1.0.6 of 6 September 2010
     6Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    77
    88Please read the WARNING, DISCLAIMER and PATENTS sections in the
     
    1313------------------------------------------------------------------
    1414
    15 bzip2-1.0.5 should compile without problems on the vast majority of
     15bzip2-1.0.6 should compile without problems on the vast majority of
    1616platforms.  Using the supplied Makefile, I've built and tested it
    1717myself for x86-linux and amd64-linux.  With makefile.msc, Visual C++
  • TabularUnified bzip2/vendor/current/README.XML.STUFF

    r75 r186  
    33  lossless, block-sorting data compression.
    44
    5   bzip2/libbzip2 version 1.0.5 of 10 December 2007
    6   Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     5  bzip2/libbzip2 version 1.0.6 of 6 September 2010
     6  Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    77
    88  Please read the WARNING, DISCLAIMER and PATENTS sections in the
  • TabularUnified bzip2/vendor/current/blocksort.c

    r75 r186  
    99   lossless, block-sorting data compression.
    1010
    11    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    12    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     11   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     12   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1313
    1414   Please read the WARNING, DISCLAIMER and PATENTS sections in the
  • TabularUnified bzip2/vendor/current/bzip2.1

    r75 r186  
    22.TH bzip2 1
    33.SH NAME
    4 bzip2, bunzip2 \- a block-sorting file compressor, v1.0.4
     4bzip2, bunzip2 \- a block-sorting file compressor, v1.0.6
    55.br
    66bzcat \- decompresses files to stdout
     
    406406what the problem is sometimes seem rather misleading.
    407407
    408 This manual page pertains to version 1.0.4 of
     408This manual page pertains to version 1.0.6 of
    409409.I bzip2. 
    410410Compressed data created by this version is entirely forwards and
    411411backwards 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
     4120.1pl2, 0.9.0, 0.9.5, 1.0.0, 1.0.1, 1.0.2 and above, but with the following
    413413exception: 0.9.0 and above can correctly decompress multiple
    414414concatenated compressed files.  0.1pl2 cannot do this; it will stop
  • TabularUnified bzip2/vendor/current/bzip2.1.preformatted

    r75 r186  
    44
    55NNAAMMEE
    6        bzip2, bunzip2 − a block‐sorting file compressor, v1.0.4
     6       bzip2, bunzip2 − a block‐sorting file compressor, v1.0.6
    77       bzcat − decompresses files to stdout
    88       bzip2recover − recovers data from damaged bzip2 files
     
    349349       rather misleading.
    350350
    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­
    352352       pressed  data created by this version is entirely forwards
    353353       and  backwards  compatible  with   the   previous   public
    354354       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
    356356       and above can  correctly decompress  multiple concatenated
    357357       compressed files.  0.1pl2  cannot do this;  it  will  stop
  • TabularUnified bzip2/vendor/current/bzip2.c

    r75 r186  
    88   lossless, block-sorting data compression.
    99
    10    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    11    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     10   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     11   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1212
    1313   Please read the WARNING, DISCLAIMER and PATENTS sections in the
     
    16061606    "Version %s.\n"
    16071607    "   \n"
    1608     "   Copyright (C) 1996-2007 by Julian Seward.\n"
     1608    "   Copyright (C) 1996-2010 by Julian Seward.\n"
    16091609    "   \n"
    16101610    "   This program is free software; you can redistribute it and/or modify\n"
    16111611    "   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"
    16131613    "   \n"
    16141614    "   This program is distributed in the hope that it will be useful,\n"
  • TabularUnified bzip2/vendor/current/bzip2.txt

    r75 r186  
    11
    22NAME
    3        bzip2, bunzip2 - a block-sorting file compressor, v1.0.4
     3       bzip2, bunzip2 - a block-sorting file compressor, v1.0.6
    44       bzcat - decompresses files to stdout
    55       bzip2recover - recovers data from damaged bzip2 files
     
    346346       rather misleading.
    347347
    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-
    349349       pressed  data created by this version is entirely forwards
    350350       and  backwards  compatible  with   the   previous   public
    351351       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
    353353       and above can  correctly decompress  multiple concatenated
    354354       compressed files.  0.1pl2  cannot do this;  it  will  stop
  • TabularUnified bzip2/vendor/current/bzip2recover.c

    r75 r186  
    88   lossless, block-sorting data compression.
    99
    10    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    11    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     10   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     11   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1212
    1313   Please read the WARNING, DISCLAIMER and PATENTS sections in the
     
    314314
    315315   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" );
    317317
    318318   if (argc != 2) {
  • TabularUnified bzip2/vendor/current/bzlib.c

    r75 r186  
    99   lossless, block-sorting data compression.
    1010
    11    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    12    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     11   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     12   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1313
    1414   Please read the WARNING, DISCLAIMER and PATENTS sections in the
  • TabularUnified bzip2/vendor/current/bzlib.h

    r75 r186  
    99   lossless, block-sorting data compression.
    1010
    11    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    12    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     11   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     12   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1313
    1414   Please read the WARNING, DISCLAIMER and PATENTS sections in the
  • TabularUnified bzip2/vendor/current/bzlib_private.h

    r75 r186  
    99   lossless, block-sorting data compression.
    1010
    11    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    12    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     11   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     12   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1313
    1414   Please read the WARNING, DISCLAIMER and PATENTS sections in the
     
    3737/*-- General stuff. --*/
    3838
    39 #define BZ_VERSION  "1.0.5, 10-Dec-2007"
     39#define BZ_VERSION  "1.0.6, 6-Sept-2010"
    4040
    4141typedef char            Char;
  • TabularUnified bzip2/vendor/current/compress.c

    r75 r186  
    99   lossless, block-sorting data compression.
    1010
    11    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    12    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     11   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     12   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1313
    1414   Please read the WARNING, DISCLAIMER and PATENTS sections in the
  • TabularUnified bzip2/vendor/current/crctable.c

    r75 r186  
    99   lossless, block-sorting data compression.
    1010
    11    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    12    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     11   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     12   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1313
    1414   Please read the WARNING, DISCLAIMER and PATENTS sections in the
  • TabularUnified bzip2/vendor/current/decompress.c

    r75 r186  
    99   lossless, block-sorting data compression.
    1010
    11    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    12    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     11   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     12   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1313
    1414   Please read the WARNING, DISCLAIMER and PATENTS sections in the
     
    382382            N = 1;
    383383            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);
    384391               if (nextSym == BZ_RUNA) es = es + (0+1) * N; else
    385392               if (nextSym == BZ_RUNB) es = es + (1+1) * N;
     
    486493
    487494      /*-- 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. */
    488501      s->cftab[0] = 0;
    489502      for (i = 1; i <= 256; i++) s->cftab[i] = s->unzftab[i-1];
    490503      for (i = 1; i <= 256; i++) s->cftab[i] += s->cftab[i-1];
     504      /* Check: cftab entries in range. */
    491505      for (i = 0; i <= 256; i++) {
    492506         if (s->cftab[i] < 0 || s->cftab[i] > nblock) {
    493507            /* s->cftab[i] can legitimately be == nblock */
     508            RETURN(BZ_DATA_ERROR);
     509         }
     510      }
     511      /* Check: cftab entries non-descending. */
     512      for (i = 1; i <= 256; i++) {
     513         if (s->cftab[i-1] > s->cftab[i]) {
    494514            RETURN(BZ_DATA_ERROR);
    495515         }
  • TabularUnified bzip2/vendor/current/entities.xml

    r75 r186  
    22<!ENTITY bz-url "http://www.bzip.org">
    33<!ENTITY bz-email "jseward@bzip.org">
    4 <!ENTITY bz-lifespan "1996-2007">
     4<!ENTITY bz-lifespan "1996-2010">
    55
    6 <!ENTITY bz-version "1.0.5">
    7 <!ENTITY bz-date "10 December 2007">
     6<!ENTITY bz-version "1.0.6">
     7<!ENTITY bz-date "6 September 2010">
    88
    99<!ENTITY manual-title "bzip2 Manual">
  • TabularUnified bzip2/vendor/current/format.pl

    r75 r186  
    55# lossless, block-sorting data compression.
    66#
    7 # bzip2/libbzip2 version 1.0.5 of 10 December 2007
    8 # Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     7# bzip2/libbzip2 version 1.0.6 of 6 September 2010
     8# Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    99#
    1010# Please read the WARNING, DISCLAIMER and PATENTS sections in the
  • TabularUnified bzip2/vendor/current/huffman.c

    r75 r186  
    99   lossless, block-sorting data compression.
    1010
    11    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    12    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     11   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     12   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1313
    1414   Please read the WARNING, DISCLAIMER and PATENTS sections in the
  • TabularUnified bzip2/vendor/current/manual.html

    r75 r186  
    22<head>
    33<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    4 <title>bzip2 and libbzip2, version 1.0.5</title>
    5 <meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
     4<title>bzip2 and libbzip2, version 1.0.6</title>
     5<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
    66<style type="text/css" media="screen">/* Colours:
    77#74240f  dark brown      h1, h2, h3, h4
     
    8080</style>
    8181</head>
    82 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="book" lang="en">
     82<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div lang="en" class="book" title="bzip2 and libbzip2, version 1.0.6">
    8383<div class="titlepage">
    8484<div>
    8585<div><h1 class="title">
    86 <a name="userman"></a>bzip2 and libbzip2, version 1.0.5</h1></div>
     86<a name="userman"></a>bzip2 and libbzip2, version 1.0.6</h1></div>
    8787<div><h2 class="subtitle">A program and library for data compression</h2></div>
    8888<div><div class="authorgroup"><div class="author">
     
    9292<div class="affiliation"><span class="orgname">http://www.bzip.org<br></span></div>
    9393</div></div></div>
    94 <div><p class="releaseinfo">Version 1.0.5 of 10 December 2007</p></div>
    95 <div><p class="copyright">Copyright © 1996-2007 Julian Seward</p></div>
    96 <div><div class="legalnotice">
    97 <a name="id2499833"></a><p>This program, <code class="computeroutput">bzip2</code>, the
     94<div><p class="releaseinfo">Version 1.0.6 of 6 September 2010</p></div>
     95<div><p class="copyright">Copyright © 1996-2010 Julian Seward</p></div>
     96<div><div class="legalnotice" title="Legal Notice">
     97<a name="id537185"></a><p>This program, <code class="computeroutput">bzip2</code>, the
    9898  associated library <code class="computeroutput">libbzip2</code>, and
    99   all documentation, are copyright © 1996-2007 Julian Seward.
     99  all documentation, are copyright © 1996-2010 Julian Seward.
    100100  All rights reserved.</p>
    101101<p>Redistribution and use in source and binary forms, with
    102102  or without modification, are permitted provided that the
    103103  following conditions are met:</p>
    104 <div class="itemizedlist"><ul type="bullet">
    105 <li style="list-style-type: disc"><p>Redistributions of source code must retain the
     104<div class="itemizedlist"><ul class="itemizedlist" type="bullet">
     105<li class="listitem" style="list-style-type: disc"><p>Redistributions of source code must retain the
    106106   above copyright notice, this list of conditions and the
    107107   following disclaimer.</p></li>
    108 <li style="list-style-type: disc"><p>The origin of this software must not be
     108<li class="listitem" style="list-style-type: disc"><p>The origin of this software must not be
    109109   misrepresented; you must not claim that you wrote the original
    110110   software.  If you use this software in a product, an
    111111   acknowledgment in the product documentation would be
    112112   appreciated but is not required.</p></li>
    113 <li style="list-style-type: disc"><p>Altered source versions must be plainly marked
     113<li class="listitem" style="list-style-type: disc"><p>Altered source versions must be plainly marked
    114114   as such, and must not be misrepresented as being the original
    115115   software.</p></li>
    116 <li style="list-style-type: disc"><p>The name of the author may not be used to
     116<li class="listitem" style="list-style-type: disc"><p>The name of the author may not be used to
    117117   endorse or promote products derived from this software without
    118118   specific prior written permission.</p></li>
     
    170170<dt><span class="sect1"><a href="#low-level">3.3. Low-level interface</a></span></dt>
    171171<dd><dl>
    172 <dt><span class="sect2"><a href="#bzcompress-init">3.3.1. <code class="computeroutput">BZ2_bzCompressInit</code></a></span></dt>
    173 <dt><span class="sect2"><a href="#bzCompress">3.3.2. <code class="computeroutput">BZ2_bzCompress</code></a></span></dt>
    174 <dt><span class="sect2"><a href="#bzCompress-end">3.3.3. <code class="computeroutput">BZ2_bzCompressEnd</code></a></span></dt>
    175 <dt><span class="sect2"><a href="#bzDecompress-init">3.3.4. <code class="computeroutput">BZ2_bzDecompressInit</code></a></span></dt>
    176 <dt><span class="sect2"><a href="#bzDecompress">3.3.5. <code class="computeroutput">BZ2_bzDecompress</code></a></span></dt>
    177 <dt><span class="sect2"><a href="#bzDecompress-end">3.3.6. <code class="computeroutput">BZ2_bzDecompressEnd</code></a></span></dt>
     172<dt><span class="sect2"><a href="#bzcompress-init">3.3.1. BZ2_bzCompressInit</a></span></dt>
     173<dt><span class="sect2"><a href="#bzCompress">3.3.2. BZ2_bzCompress</a></span></dt>
     174<dt><span class="sect2"><a href="#bzCompress-end">3.3.3. BZ2_bzCompressEnd</a></span></dt>
     175<dt><span class="sect2"><a href="#bzDecompress-init">3.3.4. BZ2_bzDecompressInit</a></span></dt>
     176<dt><span class="sect2"><a href="#bzDecompress">3.3.5. BZ2_bzDecompress</a></span></dt>
     177<dt><span class="sect2"><a href="#bzDecompress-end">3.3.6. BZ2_bzDecompressEnd</a></span></dt>
    178178</dl></dd>
    179179<dt><span class="sect1"><a href="#hl-interface">3.4. High-level interface</a></span></dt>
    180180<dd><dl>
    181 <dt><span class="sect2"><a href="#bzreadopen">3.4.1. <code class="computeroutput">BZ2_bzReadOpen</code></a></span></dt>
    182 <dt><span class="sect2"><a href="#bzread">3.4.2. <code class="computeroutput">BZ2_bzRead</code></a></span></dt>
    183 <dt><span class="sect2"><a href="#bzreadgetunused">3.4.3. <code class="computeroutput">BZ2_bzReadGetUnused</code></a></span></dt>
    184 <dt><span class="sect2"><a href="#bzreadclose">3.4.4. <code class="computeroutput">BZ2_bzReadClose</code></a></span></dt>
    185 <dt><span class="sect2"><a href="#bzwriteopen">3.4.5. <code class="computeroutput">BZ2_bzWriteOpen</code></a></span></dt>
    186 <dt><span class="sect2"><a href="#bzwrite">3.4.6. <code class="computeroutput">BZ2_bzWrite</code></a></span></dt>
    187 <dt><span class="sect2"><a href="#bzwriteclose">3.4.7. <code class="computeroutput">BZ2_bzWriteClose</code></a></span></dt>
     181<dt><span class="sect2"><a href="#bzreadopen">3.4.1. BZ2_bzReadOpen</a></span></dt>
     182<dt><span class="sect2"><a href="#bzread">3.4.2. BZ2_bzRead</a></span></dt>
     183<dt><span class="sect2"><a href="#bzreadgetunused">3.4.3. BZ2_bzReadGetUnused</a></span></dt>
     184<dt><span class="sect2"><a href="#bzreadclose">3.4.4. BZ2_bzReadClose</a></span></dt>
     185<dt><span class="sect2"><a href="#bzwriteopen">3.4.5. BZ2_bzWriteOpen</a></span></dt>
     186<dt><span class="sect2"><a href="#bzwrite">3.4.6. BZ2_bzWrite</a></span></dt>
     187<dt><span class="sect2"><a href="#bzwriteclose">3.4.7. BZ2_bzWriteClose</a></span></dt>
    188188<dt><span class="sect2"><a href="#embed">3.4.8. Handling embedded compressed data streams</a></span></dt>
    189189<dt><span class="sect2"><a href="#std-rdwr">3.4.9. Standard file-reading/writing code</a></span></dt>
     
    191191<dt><span class="sect1"><a href="#util-fns">3.5. Utility functions</a></span></dt>
    192192<dd><dl>
    193 <dt><span class="sect2"><a href="#bzbufftobuffcompress">3.5.1. <code class="computeroutput">BZ2_bzBuffToBuffCompress</code></a></span></dt>
    194 <dt><span class="sect2"><a href="#bzbufftobuffdecompress">3.5.2. <code class="computeroutput">BZ2_bzBuffToBuffDecompress</code></a></span></dt>
     193<dt><span class="sect2"><a href="#bzbufftobuffcompress">3.5.1. BZ2_bzBuffToBuffCompress</a></span></dt>
     194<dt><span class="sect2"><a href="#bzbufftobuffdecompress">3.5.2. BZ2_bzBuffToBuffDecompress</a></span></dt>
    195195</dl></dd>
    196 <dt><span class="sect1"><a href="#zlib-compat">3.6. <code class="computeroutput">zlib</code> compatibility functions</a></span></dt>
    197 <dt><span class="sect1"><a href="#stdio-free">3.7. Using the library in a <code class="computeroutput">stdio</code>-free environment</a></span></dt>
     196<dt><span class="sect1"><a href="#zlib-compat">3.6. zlib compatibility functions</a></span></dt>
     197<dt><span class="sect1"><a href="#stdio-free">3.7. Using the library in a stdio-free environment</a></span></dt>
    198198<dd><dl>
    199 <dt><span class="sect2"><a href="#stdio-bye">3.7.1. Getting rid of <code class="computeroutput">stdio</code></a></span></dt>
     199<dt><span class="sect2"><a href="#stdio-bye">3.7.1. Getting rid of stdio</a></span></dt>
    200200<dt><span class="sect2"><a href="#critical-error">3.7.2. Critical error handling</a></span></dt>
    201201</dl></dd>
     
    212212</dl>
    213213</div>
    214 <div class="chapter" lang="en">
     214<div class="chapter" title="1. Introduction">
    215215<div class="titlepage"><div><div><h2 class="title">
    216216<a name="intro"></a>1. Introduction</h2></div></div></div>
     
    229229library, not the program, which is good news if your interest is
    230230only in the program.</p>
    231 <div class="itemizedlist"><ul type="bullet">
    232 <li style="list-style-type: disc"><p><a href="#using">How to use bzip2</a> describes how to use
     231<div class="itemizedlist"><ul class="itemizedlist" type="bullet">
     232<li class="listitem" style="list-style-type: disc"><p><a class="xref" href="#using" title="2. How to use bzip2">How to use bzip2</a> describes how to use
    233233 <code class="computeroutput">bzip2</code>; this is the only part
    234234 you need to read if you just want to know how to operate the
    235235 program.</p></li>
    236 <li style="list-style-type: disc"><p><a href="#libprog">Programming with libbzip2</a> describes the
     236<li class="listitem" style="list-style-type: disc"><p><a class="xref" href="#libprog" title="3.  Programming with libbzip2">Programming with libbzip2</a> describes the
    237237 programming interfaces in detail, and</p></li>
    238 <li style="list-style-type: disc"><p><a href="#misc">Miscellanea</a> records some
     238<li class="listitem" style="list-style-type: disc"><p><a class="xref" href="#misc" title="4. Miscellanea">Miscellanea</a> records some
    239239 miscellaneous notes which I thought ought to be recorded
    240240 somewhere.</p></li>
    241241</ul></div>
    242242</div>
    243 <div class="chapter" lang="en">
     243<div class="chapter" title="2. How to use bzip2">
    244244<div class="titlepage"><div><div><h2 class="title">
    245245<a name="using"></a>2. How to use bzip2</h2></div></div></div>
     
    261261<code class="computeroutput">bzip2</code> man page, and nothing
    262262else.</p>
    263 <div class="sect1" lang="en">
     263<div class="sect1" title="2.1. NAME">
    264264<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    265265<a name="name"></a>2.1. NAME</h2></div></div></div>
    266 <div class="itemizedlist"><ul type="bullet">
    267 <li style="list-style-type: disc"><p><code class="computeroutput">bzip2</code>,
     266<div class="itemizedlist"><ul class="itemizedlist" type="bullet">
     267<li class="listitem" style="list-style-type: disc"><p><code class="computeroutput">bzip2</code>,
    268268  <code class="computeroutput">bunzip2</code> - a block-sorting file
    269   compressor, v1.0.4</p></li>
    270 <li style="list-style-type: disc"><p><code class="computeroutput">bzcat</code> -
     269  compressor, v1.0.6</p></li>
     270<li class="listitem" style="list-style-type: disc"><p><code class="computeroutput">bzcat</code> -
    271271   decompresses files to stdout</p></li>
    272 <li style="list-style-type: disc"><p><code class="computeroutput">bzip2recover</code> -
     272<li class="listitem" style="list-style-type: disc"><p><code class="computeroutput">bzip2recover</code> -
    273273   recovers data from damaged bzip2 files</p></li>
    274274</ul></div>
    275275</div>
    276 <div class="sect1" lang="en">
     276<div class="sect1" title="2.2. SYNOPSIS">
    277277<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    278278<a name="synopsis"></a>2.2. SYNOPSIS</h2></div></div></div>
    279 <div class="itemizedlist"><ul type="bullet">
    280 <li style="list-style-type: disc"><p><code class="computeroutput">bzip2</code> [
     279<div class="itemizedlist"><ul class="itemizedlist" type="bullet">
     280<li class="listitem" style="list-style-type: disc"><p><code class="computeroutput">bzip2</code> [
    281281  -cdfkqstvzVL123456789 ] [ filenames ...  ]</p></li>
    282 <li style="list-style-type: disc"><p><code class="computeroutput">bunzip2</code> [
     282<li class="listitem" style="list-style-type: disc"><p><code class="computeroutput">bunzip2</code> [
    283283  -fkvsVL ] [ filenames ...  ]</p></li>
    284 <li style="list-style-type: disc"><p><code class="computeroutput">bzcat</code> [ -s ] [
     284<li class="listitem" style="list-style-type: disc"><p><code class="computeroutput">bzcat</code> [ -s ] [
    285285  filenames ...  ]</p></li>
    286 <li style="list-style-type: disc"><p><code class="computeroutput">bzip2recover</code>
     286<li class="listitem" style="list-style-type: disc"><p><code class="computeroutput">bzip2recover</code>
    287287  filename</p></li>
    288288</ul></div>
    289289</div>
    290 <div class="sect1" lang="en">
     290<div class="sect1" title="2.3. DESCRIPTION">
    291291<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    292292<a name="description"></a>2.3. DESCRIPTION</h2></div></div></div>
     
    330330filename for the decompressed file from that of the compressed
    331331file as follows:</p>
    332 <div class="itemizedlist"><ul type="bullet">
    333 <li style="list-style-type: disc"><p><code class="computeroutput">filename.bz2 </code>
     332<div class="itemizedlist"><ul class="itemizedlist" type="bullet">
     333<li class="listitem" style="list-style-type: disc"><p><code class="computeroutput">filename.bz2 </code>
    334334  becomes
    335335  <code class="computeroutput">filename</code></p></li>
    336 <li style="list-style-type: disc"><p><code class="computeroutput">filename.bz </code>
     336<li class="listitem" style="list-style-type: disc"><p><code class="computeroutput">filename.bz </code>
    337337  becomes
    338338  <code class="computeroutput">filename</code></p></li>
    339 <li style="list-style-type: disc"><p><code class="computeroutput">filename.tbz2</code>
     339<li class="listitem" style="list-style-type: disc"><p><code class="computeroutput">filename.tbz2</code>
    340340  becomes
    341341  <code class="computeroutput">filename.tar</code></p></li>
    342 <li style="list-style-type: disc"><p><code class="computeroutput">filename.tbz </code>
     342<li class="listitem" style="list-style-type: disc"><p><code class="computeroutput">filename.tbz </code>
    343343  becomes
    344344  <code class="computeroutput">filename.tar</code></p></li>
    345 <li style="list-style-type: disc"><p><code class="computeroutput">anyothername </code>
     345<li class="listitem" style="list-style-type: disc"><p><code class="computeroutput">anyothername </code>
    346346  becomes
    347347  <code class="computeroutput">anyothername.out</code></p></li>
     
    408408<code class="computeroutput">bzip2</code> to panic.</p>
    409409</div>
    410 <div class="sect1" lang="en">
     410<div class="sect1" title="2.4. OPTIONS">
    411411<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    412412<a name="options"></a>2.4. OPTIONS</h2></div></div></div>
     
    459459  short, if your machine is low on memory (8 megabytes or less),
    460460  use <code class="computeroutput">-s</code> for everything.  See
    461   <a href="#memory-management">MEMORY MANAGEMENT</a> below.</p>
     461  <a class="xref" href="#memory-management" title="2.5. MEMORY MANAGEMENT">MEMORY MANAGEMENT</a> below.</p>
    462462</dd>
    463463<dt><span class="term"><code class="computeroutput">-q --quiet</code></span></dt>
     
    479479 <code class="computeroutput">-best</code>)</span></dt>
    480480<dd><p>Set the block size to 100 k, 200 k ...  900 k
    481   when compressing.  Has no effect when decompressing.  See <a href="#memory-management">MEMORY MANAGEMENT</a> below.  The
     481  when compressing.  Has no effect when decompressing.  See <a class="xref" href="#memory-management" title="2.5. MEMORY MANAGEMENT">MEMORY MANAGEMENT</a> below.  The
    482482  <code class="computeroutput">--fast</code> and
    483483  <code class="computeroutput">--best</code> aliases are primarily
     
    503503</dl></div>
    504504</div>
    505 <div class="sect1" lang="en">
     505<div class="sect1" title="2.5. MEMORY MANAGEMENT">
    506506<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    507507<a name="memory-management"></a>2.5. MEMORY MANAGEMENT</h2></div></div></div>
     
    575575 -9      7600k      3700k        2350k      828642</pre>
    576576</div>
    577 <div class="sect1" lang="en">
     577<div class="sect1" title="2.6. RECOVERING DATA FROM DAMAGED FILES">
    578578<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    579579<a name="recovering"></a>2.6. RECOVERING DATA FROM DAMAGED FILES</h2></div></div></div>
     
    613613compressing with a smaller block size.</p>
    614614</div>
    615 <div class="sect1" lang="en">
     615<div class="sect1" title="2.7. PERFORMANCE NOTES">
    616616<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    617617<a name="performance"></a>2.7. PERFORMANCE NOTES</h2></div></div></div>
     
    639639machines with very large caches.</p>
    640640</div>
    641 <div class="sect1" lang="en">
     641<div class="sect1" title="2.8. CAVEATS">
    642642<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    643643<a name="caveats"></a>2.8. CAVEATS</h2></div></div></div>
     
    646646errors and exit cleanly, but the details of what the problem is
    647647sometimes seem rather misleading.</p>
    648 <p>This manual page pertains to version 1.0.5 of
     648<p>This manual page pertains to version 1.0.6 of
    649649<code class="computeroutput">bzip2</code>.  Compressed data created by
    650650this version is entirely forwards and backwards compatible with the
     
    666666unsigned 64-bit integer.</p>
    667667</div>
    668 <div class="sect1" lang="en">
     668<div class="sect1" title="2.9. AUTHOR">
    669669<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    670670<a name="author"></a>2.9. AUTHOR</h2></div></div></div>
     
    691691</div>
    692692</div>
    693 <div class="chapter" lang="en">
     693<div class="chapter" title="3.  Programming with libbzip2">
    694694<div class="titlepage"><div><div><h2 class="title">
    695695<a name="libprog"></a>3. 
     
    708708<dt><span class="sect1"><a href="#low-level">3.3. Low-level interface</a></span></dt>
    709709<dd><dl>
    710 <dt><span class="sect2"><a href="#bzcompress-init">3.3.1. <code class="computeroutput">BZ2_bzCompressInit</code></a></span></dt>
    711 <dt><span class="sect2"><a href="#bzCompress">3.3.2. <code class="computeroutput">BZ2_bzCompress</code></a></span></dt>
    712 <dt><span class="sect2"><a href="#bzCompress-end">3.3.3. <code class="computeroutput">BZ2_bzCompressEnd</code></a></span></dt>
    713 <dt><span class="sect2"><a href="#bzDecompress-init">3.3.4. <code class="computeroutput">BZ2_bzDecompressInit</code></a></span></dt>
    714 <dt><span class="sect2"><a href="#bzDecompress">3.3.5. <code class="computeroutput">BZ2_bzDecompress</code></a></span></dt>
    715 <dt><span class="sect2"><a href="#bzDecompress-end">3.3.6. <code class="computeroutput">BZ2_bzDecompressEnd</code></a></span></dt>
     710<dt><span class="sect2"><a href="#bzcompress-init">3.3.1. BZ2_bzCompressInit</a></span></dt>
     711<dt><span class="sect2"><a href="#bzCompress">3.3.2. BZ2_bzCompress</a></span></dt>
     712<dt><span class="sect2"><a href="#bzCompress-end">3.3.3. BZ2_bzCompressEnd</a></span></dt>
     713<dt><span class="sect2"><a href="#bzDecompress-init">3.3.4. BZ2_bzDecompressInit</a></span></dt>
     714<dt><span class="sect2"><a href="#bzDecompress">3.3.5. BZ2_bzDecompress</a></span></dt>
     715<dt><span class="sect2"><a href="#bzDecompress-end">3.3.6. BZ2_bzDecompressEnd</a></span></dt>
    716716</dl></dd>
    717717<dt><span class="sect1"><a href="#hl-interface">3.4. High-level interface</a></span></dt>
    718718<dd><dl>
    719 <dt><span class="sect2"><a href="#bzreadopen">3.4.1. <code class="computeroutput">BZ2_bzReadOpen</code></a></span></dt>
    720 <dt><span class="sect2"><a href="#bzread">3.4.2. <code class="computeroutput">BZ2_bzRead</code></a></span></dt>
    721 <dt><span class="sect2"><a href="#bzreadgetunused">3.4.3. <code class="computeroutput">BZ2_bzReadGetUnused</code></a></span></dt>
    722 <dt><span class="sect2"><a href="#bzreadclose">3.4.4. <code class="computeroutput">BZ2_bzReadClose</code></a></span></dt>
    723 <dt><span class="sect2"><a href="#bzwriteopen">3.4.5. <code class="computeroutput">BZ2_bzWriteOpen</code></a></span></dt>
    724 <dt><span class="sect2"><a href="#bzwrite">3.4.6. <code class="computeroutput">BZ2_bzWrite</code></a></span></dt>
    725 <dt><span class="sect2"><a href="#bzwriteclose">3.4.7. <code class="computeroutput">BZ2_bzWriteClose</code></a></span></dt>
     719<dt><span class="sect2"><a href="#bzreadopen">3.4.1. BZ2_bzReadOpen</a></span></dt>
     720<dt><span class="sect2"><a href="#bzread">3.4.2. BZ2_bzRead</a></span></dt>
     721<dt><span class="sect2"><a href="#bzreadgetunused">3.4.3. BZ2_bzReadGetUnused</a></span></dt>
     722<dt><span class="sect2"><a href="#bzreadclose">3.4.4. BZ2_bzReadClose</a></span></dt>
     723<dt><span class="sect2"><a href="#bzwriteopen">3.4.5. BZ2_bzWriteOpen</a></span></dt>
     724<dt><span class="sect2"><a href="#bzwrite">3.4.6. BZ2_bzWrite</a></span></dt>
     725<dt><span class="sect2"><a href="#bzwriteclose">3.4.7. BZ2_bzWriteClose</a></span></dt>
    726726<dt><span class="sect2"><a href="#embed">3.4.8. Handling embedded compressed data streams</a></span></dt>
    727727<dt><span class="sect2"><a href="#std-rdwr">3.4.9. Standard file-reading/writing code</a></span></dt>
     
    729729<dt><span class="sect1"><a href="#util-fns">3.5. Utility functions</a></span></dt>
    730730<dd><dl>
    731 <dt><span class="sect2"><a href="#bzbufftobuffcompress">3.5.1. <code class="computeroutput">BZ2_bzBuffToBuffCompress</code></a></span></dt>
    732 <dt><span class="sect2"><a href="#bzbufftobuffdecompress">3.5.2. <code class="computeroutput">BZ2_bzBuffToBuffDecompress</code></a></span></dt>
     731<dt><span class="sect2"><a href="#bzbufftobuffcompress">3.5.1. BZ2_bzBuffToBuffCompress</a></span></dt>
     732<dt><span class="sect2"><a href="#bzbufftobuffdecompress">3.5.2. BZ2_bzBuffToBuffDecompress</a></span></dt>
    733733</dl></dd>
    734 <dt><span class="sect1"><a href="#zlib-compat">3.6. <code class="computeroutput">zlib</code> compatibility functions</a></span></dt>
    735 <dt><span class="sect1"><a href="#stdio-free">3.7. Using the library in a <code class="computeroutput">stdio</code>-free environment</a></span></dt>
     734<dt><span class="sect1"><a href="#zlib-compat">3.6. zlib compatibility functions</a></span></dt>
     735<dt><span class="sect1"><a href="#stdio-free">3.7. Using the library in a stdio-free environment</a></span></dt>
    736736<dd><dl>
    737 <dt><span class="sect2"><a href="#stdio-bye">3.7.1. Getting rid of <code class="computeroutput">stdio</code></a></span></dt>
     737<dt><span class="sect2"><a href="#stdio-bye">3.7.1. Getting rid of stdio</a></span></dt>
    738738<dt><span class="sect2"><a href="#critical-error">3.7.2. Critical error handling</a></span></dt>
    739739</dl></dd>
     
    745745<p>For general background information, particularly about
    746746memory use and performance aspects, you'd be well advised to read
    747 <a href="#using">How to use bzip2</a> as well.</p>
    748 <div class="sect1" lang="en">
     747<a class="xref" href="#using" title="2. How to use bzip2">How to use bzip2</a> as well.</p>
     748<div class="sect1" title="3.1. Top-level structure">
    749749<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    750750<a name="top-level"></a>3.1. Top-level structure</h2></div></div></div>
     
    766766<code class="computeroutput">#include &lt;bzlib.h&gt;</code>
    767767into your sources.</p>
    768 <div class="sect2" lang="en">
     768<div class="sect2" title="3.1.1. Low-level summary">
    769769<div class="titlepage"><div><div><h3 class="title">
    770770<a name="ll-summary"></a>3.1.1. Low-level summary</h3></div></div></div>
     
    801801of both.</p>
    802802</div>
    803 <div class="sect2" lang="en">
     803<div class="sect2" title="3.1.2. High-level summary">
    804804<div class="titlepage"><div><div><h3 class="title">
    805805<a name="hl-summary"></a>3.1.2. High-level summary</h3></div></div></div>
     
    840840imposition on the programmer.</p>
    841841</div>
    842 <div class="sect2" lang="en">
     842<div class="sect2" title="3.1.3. Utility functions summary">
    843843<div class="titlepage"><div><div><h3 class="title">
    844844<a name="util-fns-summary"></a>3.1.3. Utility functions summary</h3></div></div></div>
     
    872872</div>
    873873</div>
    874 <div class="sect1" lang="en">
     874<div class="sect1" title="3.2. Error handling">
    875875<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    876876<a name="err-handling"></a>3.2. Error handling</h2></div></div></div>
     
    10091009</dl></div>
    10101010</div>
    1011 <div class="sect1" lang="en">
     1011<div class="sect1" title="3.3. Low-level interface">
    10121012<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    10131013<a name="low-level"></a>3.3. Low-level interface</h2></div></div></div>
    1014 <div class="sect2" lang="en">
     1014<div class="sect2" title="3.3.1. BZ2_bzCompressInit">
    10151015<div class="titlepage"><div><div><h3 class="title">
    1016 <a name="bzcompress-init"></a>3.3.1. <code class="computeroutput">BZ2_bzCompressInit</code></h3></div></div></div>
     1016<a name="bzcompress-init"></a>3.3.1. BZ2_bzCompressInit</h3></div></div></div>
    10171017<pre class="programlisting">typedef struct {
    10181018  char *next_in;
     
    11381138  no specific action needed in case of error</pre>
    11391139</div>
    1140 <div class="sect2" lang="en">
     1140<div class="sect2" title="3.3.2. BZ2_bzCompress">
    11411141<div class="titlepage"><div><div><h3 class="title">
    1142 <a name="bzCompress"></a>3.3.2. <code class="computeroutput">BZ2_bzCompress</code></h3></div></div></div>
     1142<a name="bzCompress"></a>3.3.2. BZ2_bzCompress</h3></div></div></div>
    11431143<pre class="programlisting">int BZ2_bzCompress ( bz_stream *strm, int action );</pre>
    11441144<p>Provides more input and/or output buffer space for the
     
    12971297<p>That still looks complicated?  Well, fair enough.  The
    12981298usual sequence of calls for compressing a load of data is:</p>
    1299 <div class="orderedlist"><ol type="1">
    1300 <li><p>Get started with
     1299<div class="orderedlist"><ol class="orderedlist" type="1">
     1300<li class="listitem"><p>Get started with
    13011301  <code class="computeroutput">BZ2_bzCompressInit</code>.</p></li>
    1302 <li><p>Shovel data in and shlurp out its compressed form
     1302<li class="listitem"><p>Shovel data in and shlurp out its compressed form
    13031303  using zero or more calls of
    13041304  <code class="computeroutput">BZ2_bzCompress</code> with action =
    13051305  <code class="computeroutput">BZ_RUN</code>.</p></li>
    1306 <li><p>Finish up. Repeatedly call
     1306<li class="listitem"><p>Finish up. Repeatedly call
    13071307  <code class="computeroutput">BZ2_bzCompress</code> with action =
    13081308  <code class="computeroutput">BZ_FINISH</code>, copying out the
     
    13101310  <code class="computeroutput">BZ_STREAM_END</code> is
    13111311  returned.</p></li>
    1312 <li><p>Close up and go home.  Call
     1312<li class="listitem"><p>Close up and go home.  Call
    13131313  <code class="computeroutput">BZ2_bzCompressEnd</code>.</p></li>
    13141314</ol></div>
     
    13301330  if strm is NULL, or strm-&gt;s is NULL</pre>
    13311331</div>
    1332 <div class="sect2" lang="en">
     1332<div class="sect2" title="3.3.3. BZ2_bzCompressEnd">
    13331333<div class="titlepage"><div><div><h3 class="title">
    1334 <a name="bzCompress-end"></a>3.3.3. <code class="computeroutput">BZ2_bzCompressEnd</code></h3></div></div></div>
     1334<a name="bzCompress-end"></a>3.3.3. BZ2_bzCompressEnd</h3></div></div></div>
    13351335<pre class="programlisting">int BZ2_bzCompressEnd ( bz_stream *strm );</pre>
    13361336<p>Releases all memory associated with a compression
     
    13401340BZ_OK           otherwise</pre>
    13411341</div>
    1342 <div class="sect2" lang="en">
     1342<div class="sect2" title="3.3.4. BZ2_bzDecompressInit">
    13431343<div class="titlepage"><div><div><h3 class="title">
    1344 <a name="bzDecompress-init"></a>3.3.4. <code class="computeroutput">BZ2_bzDecompressInit</code></h3></div></div></div>
     1344<a name="bzDecompress-init"></a>3.3.4. BZ2_bzDecompressInit</h3></div></div></div>
    13451345<pre class="programlisting">int BZ2_bzDecompressInit ( bz_stream *strm, int verbosity, int small );</pre>
    13461346<p>Prepares for decompression.  As with
     
    13651365uses less memory but at the cost of decompressing more slowly
    13661366(roughly speaking, half the speed, but the maximum memory
    1367 requirement drops to around 2300k).  See <a href="#using">How to use bzip2</a>
     1367requirement drops to around 2300k).  See <a class="xref" href="#using" title="2. How to use bzip2">How to use bzip2</a>
    13681368for more information on memory management.</p>
    13691369<p>Note that the amount of memory needed to decompress a
     
    13871387  no specific action required in case of error</pre>
    13881388</div>
    1389 <div class="sect2" lang="en">
     1389<div class="sect2" title="3.3.5. BZ2_bzDecompress">
    13901390<div class="titlepage"><div><div><h3 class="title">
    1391 <a name="bzDecompress"></a>3.3.5. <code class="computeroutput">BZ2_bzDecompress</code></h3></div></div></div>
     1391<a name="bzDecompress"></a>3.3.5. BZ2_bzDecompress</h3></div></div></div>
    13921392<pre class="programlisting">int BZ2_bzDecompress ( bz_stream *strm );</pre>
    13931393<p>Provides more input and/out output buffer space for the
     
    14621462  otherwise</pre>
    14631463</div>
    1464 <div class="sect2" lang="en">
     1464<div class="sect2" title="3.3.6. BZ2_bzDecompressEnd">
    14651465<div class="titlepage"><div><div><h3 class="title">
    1466 <a name="bzDecompress-end"></a>3.3.6. <code class="computeroutput">BZ2_bzDecompressEnd</code></h3></div></div></div>
     1466<a name="bzDecompress-end"></a>3.3.6. BZ2_bzDecompressEnd</h3></div></div></div>
    14671467<pre class="programlisting">int BZ2_bzDecompressEnd ( bz_stream *strm );</pre>
    14681468<p>Releases all memory associated with a decompression
     
    14771477</div>
    14781478</div>
    1479 <div class="sect1" lang="en">
     1479<div class="sect1" title="3.4. High-level interface">
    14801480<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    14811481<a name="hl-interface"></a>3.4. High-level interface</h2></div></div></div>
     
    14831483<code class="computeroutput">bzip2</code> format files.  First, some
    14841484general points.</p>
    1485 <div class="itemizedlist"><ul type="bullet">
    1486 <li style="list-style-type: disc"><p>All of the functions take an
     1485<div class="itemizedlist"><ul class="itemizedlist" type="bullet">
     1486<li class="listitem" style="list-style-type: disc"><p>All of the functions take an
    14871487  <code class="computeroutput">int*</code> first argument,
    14881488  <code class="computeroutput">bzerror</code>.  After each call,
     
    15011501  may also be set to various other values; precise details are
    15021502  given on a per-function basis below.</p></li>
    1503 <li style="list-style-type: disc"><p>If <code class="computeroutput">bzerror</code> indicates
     1503<li class="listitem" style="list-style-type: disc"><p>If <code class="computeroutput">bzerror</code> indicates
    15041504  an error (ie, anything except
    15051505  <code class="computeroutput">BZ_OK</code> and
     
    15201520  (<code class="computeroutput">BZ2_bzWriteClose</code>) should then
    15211521  be called to clean up.</p></li>
    1522 <li style="list-style-type: disc"><p>The <code class="computeroutput">FILE*</code> arguments
     1522<li class="listitem" style="list-style-type: disc"><p>The <code class="computeroutput">FILE*</code> arguments
    15231523  passed to <code class="computeroutput">BZ2_bzReadOpen</code> /
    15241524  <code class="computeroutput">BZ2_bzWriteOpen</code> should be set
     
    15271527  omit this, you may encounter problems when moving code to new
    15281528  platforms.</p></li>
    1529 <li style="list-style-type: disc"><p>Memory allocation requests are handled by
     1529<li class="listitem" style="list-style-type: disc"><p>Memory allocation requests are handled by
    15301530  <code class="computeroutput">malloc</code> /
    15311531  <code class="computeroutput">free</code>.  At present there is no
     
    15331533  functions (could easily be added, though).</p></li>
    15341534</ul></div>
    1535 <div class="sect2" lang="en">
     1535<div class="sect2" title="3.4.1. BZ2_bzReadOpen">
    15361536<div class="titlepage"><div><div><h3 class="title">
    1537 <a name="bzreadopen"></a>3.4.1. <code class="computeroutput">BZ2_bzReadOpen</code></h3></div></div></div>
     1537<a name="bzreadopen"></a>3.4.1. BZ2_bzReadOpen</h3></div></div></div>
    15381538<pre class="programlisting">typedef void BZFILE;
    15391539
     
    15951595  otherwise</pre>
    15961596</div>
    1597 <div class="sect2" lang="en">
     1597<div class="sect2" title="3.4.2. BZ2_bzRead">
    15981598<div class="titlepage"><div><div><h3 class="title">
    1599 <a name="bzread"></a>3.4.2. <code class="computeroutput">BZ2_bzRead</code></h3></div></div></div>
     1599<a name="bzread"></a>3.4.2. BZ2_bzRead</h3></div></div></div>
    16001600<pre class="programlisting">int BZ2_bzRead ( int *bzerror, BZFILE *b, void *buf, int len );</pre>
    16011601<p>Reads up to <code class="computeroutput">len</code>
     
    16691669  otherwise</pre>
    16701670</div>
    1671 <div class="sect2" lang="en">
     1671<div class="sect2" title="3.4.3. BZ2_bzReadGetUnused">
    16721672<div class="titlepage"><div><div><h3 class="title">
    1673 <a name="bzreadgetunused"></a>3.4.3. <code class="computeroutput">BZ2_bzReadGetUnused</code></h3></div></div></div>
     1673<a name="bzreadgetunused"></a>3.4.3. BZ2_bzReadGetUnused</h3></div></div></div>
    16741674<pre class="programlisting">void BZ2_bzReadGetUnused( int* bzerror, BZFILE *b,
    16751675                          void** unused, int* nUnused );</pre>
     
    16981698<pre class="programlisting">BZ2_bzReadClose</pre>
    16991699</div>
    1700 <div class="sect2" lang="en">
     1700<div class="sect2" title="3.4.4. BZ2_bzReadClose">
    17011701<div class="titlepage"><div><div><h3 class="title">
    1702 <a name="bzreadclose"></a>3.4.4. <code class="computeroutput">BZ2_bzReadClose</code></h3></div></div></div>
     1702<a name="bzreadclose"></a>3.4.4. BZ2_bzReadClose</h3></div></div></div>
    17031703<pre class="programlisting">void BZ2_bzReadClose ( int *bzerror, BZFILE *b );</pre>
    17041704<p>Releases all memory pertaining to the compressed file
     
    17181718<pre class="programlisting">none</pre>
    17191719</div>
    1720 <div class="sect2" lang="en">
     1720<div class="sect2" title="3.4.5. BZ2_bzWriteOpen">
    17211721<div class="titlepage"><div><div><h3 class="title">
    1722 <a name="bzwriteopen"></a>3.4.5. <code class="computeroutput">BZ2_bzWriteOpen</code></h3></div></div></div>
     1722<a name="bzwriteopen"></a>3.4.5. BZ2_bzWriteOpen</h3></div></div></div>
    17231723<pre class="programlisting">BZFILE *BZ2_bzWriteOpen( int *bzerror, FILE *f,
    17241724                         int blockSize100k, int verbosity,
     
    17641764  otherwise</pre>
    17651765</div>
    1766 <div class="sect2" lang="en">
     1766<div class="sect2" title="3.4.6. BZ2_bzWrite">
    17671767<div class="titlepage"><div><div><h3 class="title">
    1768 <a name="bzwrite"></a>3.4.6. <code class="computeroutput">BZ2_bzWrite</code></h3></div></div></div>
     1768<a name="bzwrite"></a>3.4.6. BZ2_bzWrite</h3></div></div></div>
    17691769<pre class="programlisting">void BZ2_bzWrite ( int *bzerror, BZFILE *b, void *buf, int len );</pre>
    17701770<p>Absorbs <code class="computeroutput">len</code> bytes from the
     
    17821782  otherwise</pre>
    17831783</div>
    1784 <div class="sect2" lang="en">
     1784<div class="sect2" title="3.4.7. BZ2_bzWriteClose">
    17851785<div class="titlepage"><div><div><h3 class="title">
    1786 <a name="bzwriteclose"></a>3.4.7. <code class="computeroutput">BZ2_bzWriteClose</code></h3></div></div></div>
     1786<a name="bzwriteclose"></a>3.4.7. BZ2_bzWriteClose</h3></div></div></div>
    17871787<pre class="programlisting">void BZ2_bzWriteClose( int *bzerror, BZFILE* f,
    17881788                       int abandon,
     
    18341834  otherwise</pre>
    18351835</div>
    1836 <div class="sect2" lang="en">
     1836<div class="sect2" title="3.4.8. Handling embedded compressed data streams">
    18371837<div class="titlepage"><div><div><h3 class="title">
    18381838<a name="embed"></a>3.4.8. Handling embedded compressed data streams</h3></div></div></div>
     
    18401840<code class="computeroutput">bzip2</code> data streams which form
    18411841some part of a surrounding, larger data stream.</p>
    1842 <div class="itemizedlist"><ul type="bullet">
    1843 <li style="list-style-type: disc"><p>For writing, the library takes an open file handle,
     1842<div class="itemizedlist"><ul class="itemizedlist" type="bullet">
     1843<li class="listitem" style="list-style-type: disc"><p>For writing, the library takes an open file handle,
    18441844  writes compressed data to it,
    18451845  <code class="computeroutput">fflush</code>es it but does not
     
    18471847  application can write its own data before and after the
    18481848  compressed data stream, using that same file handle.</p></li>
    1849 <li style="list-style-type: disc"><p>Reading is more complex, and the facilities are not as
     1849<li class="listitem" style="list-style-type: disc"><p>Reading is more complex, and the facilities are not as
    18501850  general as they could be since generality is hard to reconcile
    18511851  with efficiency.  <code class="computeroutput">BZ2_bzRead</code>
     
    18831883interface.</p>
    18841884</div>
    1885 <div class="sect2" lang="en">
     1885<div class="sect2" title="3.4.9. Standard file-reading/writing code">
    18861886<div class="titlepage"><div><div><h3 class="title">
    18871887<a name="std-rdwr"></a>3.4.9. Standard file-reading/writing code</h3></div></div></div>
     
    19501950</div>
    19511951</div>
    1952 <div class="sect1" lang="en">
     1952<div class="sect1" title="3.5. Utility functions">
    19531953<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    19541954<a name="util-fns"></a>3.5. Utility functions</h2></div></div></div>
    1955 <div class="sect2" lang="en">
     1955<div class="sect2" title="3.5.1. BZ2_bzBuffToBuffCompress">
    19561956<div class="titlepage"><div><div><h3 class="title">
    1957 <a name="bzbufftobuffcompress"></a>3.5.1. <code class="computeroutput">BZ2_bzBuffToBuffCompress</code></h3></div></div></div>
     1957<a name="bzbufftobuffcompress"></a>3.5.1. BZ2_bzBuffToBuffCompress</h3></div></div></div>
    19581958<pre class="programlisting">int BZ2_bzBuffToBuffCompress( char*         dest,
    19591959                              unsigned int* destLen,
     
    20062006  otherwise</pre>
    20072007</div>
    2008 <div class="sect2" lang="en">
     2008<div class="sect2" title="3.5.2. BZ2_bzBuffToBuffDecompress">
    20092009<div class="titlepage"><div><div><h3 class="title">
    2010 <a name="bzbufftobuffdecompress"></a>3.5.2. <code class="computeroutput">BZ2_bzBuffToBuffDecompress</code></h3></div></div></div>
     2010<a name="bzbufftobuffdecompress"></a>3.5.2. BZ2_bzBuffToBuffDecompress</h3></div></div></div>
    20112011<pre class="programlisting">int BZ2_bzBuffToBuffDecompress( char*         dest,
    20122012                                unsigned int* destLen,
     
    20662066</div>
    20672067</div>
    2068 <div class="sect1" lang="en">
     2068<div class="sect1" title="3.6. zlib compatibility functions">
    20692069<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    2070 <a name="zlib-compat"></a>3.6. <code class="computeroutput">zlib</code> compatibility functions</h2></div></div></div>
     2070<a name="zlib-compat"></a>3.6. zlib compatibility functions</h2></div></div></div>
    20712071<p>Yoshioka Tsuneo has contributed some functions to give
    20722072better <code class="computeroutput">zlib</code> compatibility.
     
    21092109value.</p>
    21102110</div>
    2111 <div class="sect1" lang="en">
     2111<div class="sect1" title="3.7. Using the library in a stdio-free environment">
    21122112<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    2113 <a name="stdio-free"></a>3.7. Using the library in a <code class="computeroutput">stdio</code>-free environment</h2></div></div></div>
    2114 <div class="sect2" lang="en">
     2113<a name="stdio-free"></a>3.7. Using the library in a stdio-free environment</h2></div></div></div>
     2114<div class="sect2" title="3.7.1. Getting rid of stdio">
    21152115<div class="titlepage"><div><div><h3 class="title">
    2116 <a name="stdio-bye"></a>3.7.1. Getting rid of <code class="computeroutput">stdio</code></h3></div></div></div>
     2116<a name="stdio-bye"></a>3.7.1. Getting rid of stdio</h3></div></div></div>
    21172117<p>In a deeply embedded application, you might want to use
    21182118just the memory-to-memory functions.  You can do this
     
    21322132<code class="computeroutput">verbosity</code> settings.</p>
    21332133</div>
    2134 <div class="sect2" lang="en">
     2134<div class="sect2" title="3.7.2. Critical error handling">
    21352135<div class="titlepage"><div><div><h3 class="title">
    21362136<a name="critical-error"></a>3.7.2. Critical error handling</h3></div></div></div>
     
    21442144<div class="blockquote"><blockquote class="blockquote">
    21452145<p>bzip2/libbzip2: internal error number N.</p>
    2146 <p>This is a bug in bzip2/libbzip2, 1.0.5 of 10 December 2007.
     2146<p>This is a bug in bzip2/libbzip2, 1.0.6 of 6 September 2010.
    21472147Please report it to me at: jseward@bzip.org.  If this happened
    21482148when you were using some program which uses libbzip2 as a
     
    21502150of that program.  Please make an effort to report this bug;
    21512151timely and accurate bug reports eventually lead to higher
    2152 quality software.  Thanks.  Julian Seward, 10 December 2007.
     2152quality software.  Thanks.  Julian Seward, 6 September 2010.
    21532153</p>
    21542154</blockquote></div>
     
    21772177</div>
    21782178</div>
    2179 <div class="sect1" lang="en">
     2179<div class="sect1" title="3.8. Making a Windows DLL">
    21802180<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    21812181<a name="win-dll"></a>3.8. Making a Windows DLL</h2></div></div></div>
     
    22192219</div>
    22202220</div>
    2221 <div class="chapter" lang="en">
     2221<div class="chapter" title="4. Miscellanea">
    22222222<div class="titlepage"><div><div><h2 class="title">
    22232223<a name="misc"></a>4. Miscellanea</h2></div></div></div>
     
    22342234<p>These are just some random thoughts of mine.  Your mileage
    22352235may vary.</p>
    2236 <div class="sect1" lang="en">
     2236<div class="sect1" title="4.1. Limitations of the compressed file format">
    22372237<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    22382238<a name="limits"></a>4.1. Limitations of the compressed file format</h2></div></div></div>
     
    22512251decompression and, in retrospect, are unnecessary.  These
    22522252are:</p>
    2253 <div class="itemizedlist"><ul type="bullet">
    2254 <li style="list-style-type: disc"><p>The run-length encoder, which is the first of the
     2253<div class="itemizedlist"><ul class="itemizedlist" type="bullet">
     2254<li class="listitem" style="list-style-type: disc"><p>The run-length encoder, which is the first of the
    22552255   compression transformations, is entirely irrelevant.  The
    22562256   original purpose was to protect the sorting algorithm from the
     
    22592259   technical report (SRC-124) show how repeats can be handled
    22602260   without difficulty in block sorting.</p></li>
    2261 <li style="list-style-type: disc">
     2261<li class="listitem" style="list-style-type: disc">
    22622262<p>The randomisation mechanism doesn't really need to be
    22632263   there.  Udi Manber and Gene Myers published a suffix array
     
    22822282   difficulties.</p>
    22832283</li>
    2284 <li style="list-style-type: disc"><p>The compressed file format was never designed to be
     2284<li class="listitem" style="list-style-type: disc"><p>The compressed file format was never designed to be
    22852285   handled by a library, and I have had to jump though some hoops
    22862286   to produce an efficient implementation of decompression.  It's
     
    22902290   complexity could have been avoided if the compressed size of
    22912291   each block of data was recorded in the data stream.</p></li>
    2292 <li style="list-style-type: disc"><p>An Adler-32 checksum, rather than a CRC32 checksum,
     2292<li class="listitem" style="list-style-type: disc"><p>An Adler-32 checksum, rather than a CRC32 checksum,
    22932293   would be faster to compute.</p></li>
    22942294</ul></div>
     
    22992299<p>Improvements which I was able to incorporate into 0.9.0,
    23002300despite using the same file format, are:</p>
    2301 <div class="itemizedlist"><ul type="bullet">
    2302 <li style="list-style-type: disc"><p>Single array implementation of the inverse BWT.  This
     2301<div class="itemizedlist"><ul class="itemizedlist" type="bullet">
     2302<li class="listitem" style="list-style-type: disc"><p>Single array implementation of the inverse BWT.  This
    23032303  significantly speeds up decompression, presumably because it
    23042304  reduces the number of cache misses.</p></li>
    2305 <li style="list-style-type: disc"><p>Faster inverse MTF transform for large MTF values.
     2305<li class="listitem" style="list-style-type: disc"><p>Faster inverse MTF transform for large MTF values.
    23062306  The new implementation is based on the notion of sliding blocks
    23072307  of values.</p></li>
    2308 <li style="list-style-type: disc"><p><code class="computeroutput">bzip2-0.9.0</code> now reads
     2308<li class="listitem" style="list-style-type: disc"><p><code class="computeroutput">bzip2-0.9.0</code> now reads
    23092309  and writes files with <code class="computeroutput">fread</code>
    23102310  and <code class="computeroutput">fwrite</code>; version 0.1 used
     
    23172317compressed file formats.</p>
    23182318</div>
    2319 <div class="sect1" lang="en">
     2319<div class="sect1" title="4.2. Portability issues">
    23202320<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    23212321<a name="port-issues"></a>4.2. Portability issues</h2></div></div></div>
     
    23672367Otherwise the resulting binary won't work correctly.</p>
    23682368</div>
    2369 <div class="sect1" lang="en">
     2369<div class="sect1" title="4.3. Reporting bugs">
    23702370<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    23712371<a name="bugs"></a>4.3. Reporting bugs</h2></div></div></div>
     
    23802380problems can be traced to either compiler bugs or hardware
    23812381problems.</p>
    2382 <div class="itemizedlist"><ul type="bullet">
    2383 <li style="list-style-type: disc">
     2382<div class="itemizedlist"><ul class="itemizedlist" type="bullet">
     2383<li class="listitem" style="list-style-type: disc">
    23842384<p>Recompile the program with no optimisation, and
    23852385  see if it works.  And/or try a different compiler.  I heard all
     
    24012401  done its job correctly.</p>
    24022402</li>
    2403 <li style="list-style-type: disc">
     2403<li class="listitem" style="list-style-type: disc">
    24042404<p>If <code class="computeroutput">bzip2</code>
    24052405  crashes randomly, and the crashes are not repeatable, you may
     
    24122412  if you can repeat the problem.</p>
    24132413</li>
    2414 <li style="list-style-type: disc"><p>This isn't really a bug, but ... If
     2414<li class="listitem" style="list-style-type: disc"><p>This isn't really a bug, but ... If
    24152415  <code class="computeroutput">bzip2</code> tells you your file is
    24162416  corrupted on decompression, and you obtained the file via FTP,
     
    24482448anything more than speculate about the cause, is limited.</p>
    24492449</div>
    2450 <div class="sect1" lang="en">
     2450<div class="sect1" title="4.4. Did you get the right package?">
    24512451<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    24522452<a name="package"></a>4.4. Did you get the right package?</h2></div></div></div>
     
    24652465work, <code class="computeroutput">zlib-1.2.1</code> and
    24662466<code class="computeroutput">gzip-1.2.4</code>.  Look for them at
    2467 <a href="http://www.zlib.org" target="_top">http://www.zlib.org</a> and
    2468 <a href="http://www.gzip.org" target="_top">http://www.gzip.org</a>
     2467<a class="ulink" href="http://www.zlib.org" target="_top">http://www.zlib.org</a> and
     2468<a class="ulink" href="http://www.gzip.org" target="_top">http://www.gzip.org</a>
    24692469respectively.</p>
    24702470<p>For something faster and lighter still, you might try Markus F
    24712471X J Oberhumer's <code class="computeroutput">LZO</code> real-time
    24722472compression/decompression library, at
    2473 <a href="http://www.oberhumer.com/opensource" target="_top">http://www.oberhumer.com/opensource</a>.</p>
    2474 </div>
    2475 <div class="sect1" lang="en">
     2473<a class="ulink" href="http://www.oberhumer.com/opensource" target="_top">http://www.oberhumer.com/opensource</a>.</p>
     2474</div>
     2475<div class="sect1" title="4.5. Further Reading">
    24762476<div class="titlepage"><div><div><h2 class="title" style="clear: both">
    24772477<a name="reading"></a>4.5. Further Reading</h2></div></div></div>
  • TabularUnified bzip2/vendor/current/manual.xml

    r75 r186  
    1010
    1111 <bookinfo>
    12   <title>bzip2 and libbzip2, version 1.0.5</title>
     12  <title>bzip2 and libbzip2, version 1.0.6</title>
    1313  <subtitle>A program and library for data compression</subtitle>
    1414  <copyright>
     
    140140 <listitem><para><computeroutput>bzip2</computeroutput>,
    141141  <computeroutput>bunzip2</computeroutput> - a block-sorting file
    142   compressor, v1.0.4</para></listitem>
     142  compressor, v1.0.6</para></listitem>
    143143
    144144 <listitem><para><computeroutput>bzcat</computeroutput> -
     
    10341034
    10351035<sect2 id="bzcompress-init" xreflabel="BZ2_bzCompressInit">
    1036 <title><computeroutput>BZ2_bzCompressInit</computeroutput></title>
     1036<title>BZ2_bzCompressInit</title>
    10371037
    10381038<programlisting>
     
    11841184
    11851185<sect2 id="bzCompress" xreflabel="BZ2_bzCompress">
    1186 <title><computeroutput>BZ2_bzCompress</computeroutput></title>
     1186<title>BZ2_bzCompress</title>
    11871187
    11881188<programlisting>
     
    14091409
    14101410<sect2 id="bzCompress-end" xreflabel="BZ2_bzCompressEnd">
    1411 <title><computeroutput>BZ2_bzCompressEnd</computeroutput></title>
     1411<title>BZ2_bzCompressEnd</title>
    14121412
    14131413<programlisting>
     
    14291429
    14301430<sect2 id="bzDecompress-init" xreflabel="BZ2_bzDecompressInit">
    1431 <title><computeroutput>BZ2_bzDecompressInit</computeroutput></title>
     1431<title>BZ2_bzDecompressInit</title>
    14321432
    14331433<programlisting>
     
    14931493
    14941494<sect2 id="bzDecompress" xreflabel="BZ2_bzDecompress">
    1495 <title><computeroutput>BZ2_bzDecompress</computeroutput></title>
     1495<title>BZ2_bzDecompress</title>
    14961496
    14971497<programlisting>
     
    15881588
    15891589<sect2 id="bzDecompress-end" xreflabel="BZ2_bzDecompressEnd">
    1590 <title><computeroutput>BZ2_bzDecompressEnd</computeroutput></title>
     1590<title>BZ2_bzDecompressEnd</title>
    15911591
    15921592<programlisting>
     
    16831683
    16841684<sect2 id="bzreadopen" xreflabel="BZ2_bzReadOpen">
    1685 <title><computeroutput>BZ2_bzReadOpen</computeroutput></title>
     1685<title>BZ2_bzReadOpen</title>
    16861686
    16871687<programlisting>
     
    17661766
    17671767<sect2 id="bzread" xreflabel="BZ2_bzRead">
    1768 <title><computeroutput>BZ2_bzRead</computeroutput></title>
     1768<title>BZ2_bzRead</title>
    17691769
    17701770<programlisting>
     
    18601860
    18611861<sect2 id="bzreadgetunused" xreflabel="BZ2_bzReadGetUnused">
    1862 <title><computeroutput>BZ2_bzReadGetUnused</computeroutput></title>
     1862<title>BZ2_bzReadGetUnused</title>
    18631863
    18641864<programlisting>
     
    19041904
    19051905<sect2 id="bzreadclose" xreflabel="BZ2_bzReadClose">
    1906 <title><computeroutput>BZ2_bzReadClose</computeroutput></title>
     1906<title>BZ2_bzReadClose</title>
    19071907
    19081908<programlisting>
     
    19381938
    19391939<sect2 id="bzwriteopen" xreflabel="BZ2_bzWriteOpen">
    1940 <title><computeroutput>BZ2_bzWriteOpen</computeroutput></title>
     1940<title>BZ2_bzWriteOpen</title>
    19411941
    19421942<programlisting>
     
    20042004
    20052005<sect2 id="bzwrite" xreflabel="BZ2_bzWrite">
    2006 <title><computeroutput>BZ2_bzWrite</computeroutput></title>
     2006<title>BZ2_bzWrite</title>
    20072007
    20082008<programlisting>
     
    20322032
    20332033<sect2 id="bzwriteclose" xreflabel="BZ2_bzWriteClose">
    2034 <title><computeroutput>BZ2_bzWriteClose</computeroutput></title>
     2034<title>BZ2_bzWriteClose</title>
    20352035
    20362036<programlisting>
     
    22362236
    22372237<sect2 id="bzbufftobuffcompress" xreflabel="BZ2_bzBuffToBuffCompress">
    2238 <title><computeroutput>BZ2_bzBuffToBuffCompress</computeroutput></title>
     2238<title>BZ2_bzBuffToBuffCompress</title>
    22392239
    22402240<programlisting>
     
    23032303
    23042304<sect2 id="bzbufftobuffdecompress" xreflabel="BZ2_bzBuffToBuffDecompress">
    2305 <title><computeroutput>BZ2_bzBuffToBuffDecompress</computeroutput></title>
     2305<title>BZ2_bzBuffToBuffDecompress</title>
    23062306
    23072307<programlisting>
     
    23782378
    23792379<sect1 id="zlib-compat" xreflabel="zlib compatibility functions">
    2380 <title><computeroutput>zlib</computeroutput> compatibility functions</title>
     2380<title>zlib compatibility functions</title>
    23812381
    23822382<para>Yoshioka Tsuneo has contributed some functions to give
     
    24452445<sect1 id="stdio-free"
    24462446       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>
    24482448
    24492449
    24502450<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>
    24522452
    24532453<para>In a deeply embedded application, you might want to use
  • TabularUnified bzip2/vendor/current/mk251.c

    r75 r186  
    1010   lossless, block-sorting data compression.
    1111
    12    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    13    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     12   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     13   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1414
    1515   Please read the WARNING, DISCLAIMER and PATENTS sections in the
  • TabularUnified bzip2/vendor/current/randtable.c

    r75 r186  
    99   lossless, block-sorting data compression.
    1010
    11    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    12    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     11   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     12   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1313
    1414   Please read the WARNING, DISCLAIMER and PATENTS sections in the
  • TabularUnified bzip2/vendor/current/spewG.c

    r75 r186  
    1414   lossless, block-sorting data compression.
    1515
    16    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    17    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     16   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     17   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1818
    1919   Please read the WARNING, DISCLAIMER and PATENTS sections in the
  • TabularUnified bzip2/vendor/current/unzcrash.c

    r75 r186  
    1818   lossless, block-sorting data compression.
    1919
    20    bzip2/libbzip2 version 1.0.5 of 10 December 2007
    21    Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     20   bzip2/libbzip2 version 1.0.6 of 6 September 2010
     21   Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    2222
    2323   Please read the WARNING, DISCLAIMER and PATENTS sections in the
  • TabularUnified bzip2/vendor/current/xmlproc.sh

    r75 r186  
    66#  lossless, block-sorting data compression.
    77#
    8 #  bzip2/libbzip2 version 1.0.5 of 10 December 2007
    9 #  Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
     8#  bzip2/libbzip2 version 1.0.6 of 6 September 2010
     9#  Copyright (C) 1996-2010 Julian Seward <jseward@bzip.org>
    1010#
    1111#  Please read the WARNING, DISCLAIMER and PATENTS sections in the
Note: See TracChangeset for help on using the changeset viewer.