delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/12/04/06:59:51

From: "Juan Manuel Guerrero" <ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De>
Organization: Darmstadt University of Technology
To: eliz AT is DOT elta DOT co DOT il
Date: Mon, 4 Dec 2000 12:58:44 +0200
MIME-Version: 1.0
Subject: Re: bzip2 support for DJTAR
CC: djgpp-workers AT delorie DOT com
In-reply-to: <2950-Sat25Nov2000131328+0200-eliz@is.elta.co.il>
X-mailer: Pegasus Mail for Windows (v2.54DE)
Message-ID: <73394409CB@HRZ1.hrz.tu-darmstadt.de>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

This is a patch to incorporate bzip support to djtar.
djtar will be able to decompress bziped tar files stored on a FAT disk
or a raw disk. The patch will modify the following files:
  utils.tex
  djtar/makefile
  djtar/untar.c
  djtar/zmethod.c
  djtar/zread.h
and create the following new ones:
  djtar/bzlib.c
  djtar/bzlib_private.h
  djtar/crctable.c
  djtar/decompress.c
  djtar/huffman.c
  djtar/randtable.c
  djtar/unbzip2.c
  djtar/unbzip2.h

All the new files, except for unbzip2.c, are from the bzip2-1.0.1 package.
This bzip files have been slightly modified by me, mostly to remove all the
unnecessary functionality. *Everything* except for the decompression machinery
and its auxiliary functions has been removed. Bzip is distributed under a 
BSD-style licence. Someone with better english skills than me should read it to
decide if the licence implications are OK for djgpp or not.
unbzip2.c contains the functions that connect djtar with the bzip functions,
feeding the compressed data to the decompressing functions and sending the
output to tarread(). unbzip2() is able to handle normal .bz2-files and
concatenated ones. E.g: copy 1.bz2/b + 2.bz2/b  foo.bz2. This guarantee that
djtar will be able to process the *same* kind of .bz2-files than bzip2 is able
to process.
Because the patch is long, I have splited it into 4 files. The patches can be
applied in any order. The patch is based on current CVS (CVS timestamp: 2000-11-30).
I have been using this modified djtar version for 6 or 7 months without difficulties.
As usual, comments, objections, suggestions, etc, etc, etc are welcome.

regards,
Guerrero, Juan Manuel

Patch 1/4

diff -acprNC5 djgpp.orig/src/utils/djtar/bzlib_private.h djgpp/src/utils/djtar/bzlib_private.h
*** djgpp.orig/src/utils/djtar/bzlib_private.h	Thu Jan  1 00:00:00 1970
--- djgpp/src/utils/djtar/bzlib_private.h	Sun Dec  3 00:57:34 2000
***************
*** 0 ****
--- 1,420 ----
+ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */
+ 
+ /*-------------------------------------------------------------*/
+ /*--- Private header file for the library.                  ---*/
+ /*---                                       bzlib_private.h ---*/
+ /*-------------------------------------------------------------*/
+ 
+ /*--
+   This file is a part of bzip2 and/or libbzip2, a program and
+   library for lossless, block-sorting data compression.
+ 
+   Copyright (C) 1996-2000 Julian R Seward.  All rights reserved.
+ 
+   Redistribution and use in source and binary forms, with or without
+   modification, are permitted provided that the following conditions
+   are met:
+ 
+   1. Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ 
+   2. The origin of this software must not be misrepresented; you must 
+      not claim that you wrote the original software.  If you use this 
+      software in a product, an acknowledgment in the product 
+      documentation would be appreciated but is not required.
+ 
+   3. Altered source versions must be plainly marked as such, and must
+      not be misrepresented as being the original software.
+ 
+   4. The name of the author may not be used to endorse or promote 
+      products derived from this software without specific prior written 
+      permission.
+ 
+   THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
+   OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+   ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+   DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+   GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ 
+   Julian Seward, Cambridge, UK.
+   jseward AT acm DOT org
+   bzip2/libbzip2 version 1.0 of 21 March 2000
+ 
+   This program is based on (at least) the work of:
+      Mike Burrows
+      David Wheeler
+      Peter Fenwick
+      Alistair Moffat
+      Radford Neal
+      Ian H. Witten
+      Robert Sedgewick
+      Jon L. Bentley
+ 
+   For more information on these sources, see the manual.
+ 
+   Minor changes for DJTAR program, Juan Manuel Guerrero   December 2000
+ --*/
+ 
+ 
+ #ifndef _BZLIB_PRIVATE_H
+ #define _BZLIB_PRIVATE_H
+ 
+ #include <stdlib.h>
+ 
+ #ifndef BZ_NO_STDIO
+ #include <stdio.h>
+ #include <ctype.h>
+ #include <string.h>
+ #endif
+ 
+ #include "unbzip2.h"
+ 
+ 
+ 
+ /*-- General stuff. --*/
+ 
+ #define BZ_VERSION  "1.0.1, 23-June-2000"
+ 
+ typedef char            Char;
+ typedef unsigned char   Bool;
+ typedef unsigned char   UChar;
+ typedef int             Int32;
+ typedef unsigned int    UInt32;
+ typedef short           Int16;
+ typedef unsigned short  UInt16;
+ 
+ #define True  ((Bool)1)
+ #define False ((Bool)0)
+ 
+ #ifndef __GNUC__
+ #define __inline__  /* */
+ #endif 
+ 
+ #ifndef BZ_NO_STDIO
+ extern void BZ2_bz__AssertH__fail ( int errcode );
+ #define AssertH(cond,errcode) \
+    { if (!(cond)) BZ2_bz__AssertH__fail ( errcode ); }
+ #if BZ_DEBUG
+ #define AssertD(cond,msg) \
+    { if (!(cond)) {       \
+       fprintf ( stderr,   \
+         "\n\nlibbzip2(debug build): internal error\n\t%s\n", msg );\
+       exit(1); \
+    }}
+ #else
+ #define AssertD(cond,msg) /* */
+ #endif
+ #define VPrintf0(zf) \
+    fprintf(stderr,zf)
+ #define VPrintf1(zf,za1) \
+    fprintf(stderr,zf,za1)
+ #define VPrintf2(zf,za1,za2) \
+    fprintf(stderr,zf,za1,za2)
+ #define VPrintf3(zf,za1,za2,za3) \
+    fprintf(stderr,zf,za1,za2,za3)
+ #define VPrintf4(zf,za1,za2,za3,za4) \
+    fprintf(stderr,zf,za1,za2,za3,za4)
+ #define VPrintf5(zf,za1,za2,za3,za4,za5) \
+    fprintf(stderr,zf,za1,za2,za3,za4,za5)
+ #else
+ extern void bz_internal_error ( int errcode );
+ #define AssertH(cond,errcode) \
+    { if (!(cond)) bz_internal_error ( errcode ); }
+ #define AssertD(cond,msg) /* */
+ #define VPrintf0(zf) /* */
+ #define VPrintf1(zf,za1) /* */
+ #define VPrintf2(zf,za1,za2) /* */
+ #define VPrintf3(zf,za1,za2,za3) /* */
+ #define VPrintf4(zf,za1,za2,za3,za4) /* */
+ #define VPrintf5(zf,za1,za2,za3,za4,za5) /* */
+ #endif
+ 
+ 
+ #define BZALLOC(nnn) (strm->bzalloc)(strm->opaque,(nnn),1)
+ #define BZFREE(ppp)  (strm->bzfree)(strm->opaque,(ppp))
+ 
+ 
+ /*-- Constants for the back end. --*/
+ 
+ #define BZ_MAX_ALPHA_SIZE 258
+ #define BZ_MAX_CODE_LEN    23
+ 
+ #define BZ_RUNA 0
+ #define BZ_RUNB 1
+ 
+ #define BZ_N_GROUPS 6
+ #define BZ_G_SIZE   50
+ #define BZ_N_ITERS  4
+ 
+ #define BZ_MAX_SELECTORS (2 + (900000 / BZ_G_SIZE))
+ 
+ 
+ 
+ /*-- Stuff for randomising repetitive blocks. --*/
+ 
+ extern Int32 BZ2_rNums[512];
+ 
+ #define BZ_RAND_DECLS                          \
+    Int32 rNToGo;                               \
+    Int32 rTPos                                 \
+ 
+ #define BZ_RAND_INIT_MASK                      \
+    s->rNToGo = 0;                              \
+    s->rTPos  = 0                               \
+ 
+ #define BZ_RAND_MASK ((s->rNToGo == 1) ? 1 : 0)
+ 
+ #define BZ_RAND_UPD_MASK                       \
+    if (s->rNToGo == 0) {                       \
+       s->rNToGo = BZ2_rNums[s->rTPos];         \
+       s->rTPos++;                              \
+       if (s->rTPos == 512) s->rTPos = 0;       \
+    }                                           \
+    s->rNToGo--;
+ 
+ 
+ 
+ /*-- Stuff for doing CRCs. --*/
+ 
+ extern UInt32 BZ2_crc32Table[256];
+ 
+ #define BZ_INITIALISE_CRC(crcVar)              \
+ {                                              \
+    crcVar = 0xffffffffL;                       \
+ }
+ 
+ #define BZ_FINALISE_CRC(crcVar)                \
+ {                                              \
+    crcVar = ~(crcVar);                         \
+ }
+ 
+ #define BZ_UPDATE_CRC(crcVar,cha)              \
+ {                                              \
+    crcVar = (crcVar << 8) ^                    \
+             BZ2_crc32Table[(crcVar >> 24) ^    \
+                            ((UChar)cha)];      \
+ }
+ 
+ 
+ 
+ /*-- states for decompression. --*/
+ 
+ #define BZ_X_IDLE        1
+ #define BZ_X_OUTPUT      2
+ 
+ #define BZ_X_MAGIC_1     10
+ #define BZ_X_MAGIC_2     11
+ #define BZ_X_MAGIC_3     12
+ #define BZ_X_MAGIC_4     13
+ #define BZ_X_BLKHDR_1    14
+ #define BZ_X_BLKHDR_2    15
+ #define BZ_X_BLKHDR_3    16
+ #define BZ_X_BLKHDR_4    17
+ #define BZ_X_BLKHDR_5    18
+ #define BZ_X_BLKHDR_6    19
+ #define BZ_X_BCRC_1      20
+ #define BZ_X_BCRC_2      21
+ #define BZ_X_BCRC_3      22
+ #define BZ_X_BCRC_4      23
+ #define BZ_X_RANDBIT     24
+ #define BZ_X_ORIGPTR_1   25
+ #define BZ_X_ORIGPTR_2   26
+ #define BZ_X_ORIGPTR_3   27
+ #define BZ_X_MAPPING_1   28
+ #define BZ_X_MAPPING_2   29
+ #define BZ_X_SELECTOR_1  30
+ #define BZ_X_SELECTOR_2  31
+ #define BZ_X_SELECTOR_3  32
+ #define BZ_X_CODING_1    33
+ #define BZ_X_CODING_2    34
+ #define BZ_X_CODING_3    35
+ #define BZ_X_MTF_1       36
+ #define BZ_X_MTF_2       37
+ #define BZ_X_MTF_3       38
+ #define BZ_X_MTF_4       39
+ #define BZ_X_MTF_5       40
+ #define BZ_X_MTF_6       41
+ #define BZ_X_ENDHDR_2    42
+ #define BZ_X_ENDHDR_3    43
+ #define BZ_X_ENDHDR_4    44
+ #define BZ_X_ENDHDR_5    45
+ #define BZ_X_ENDHDR_6    46
+ #define BZ_X_CCRC_1      47
+ #define BZ_X_CCRC_2      48
+ #define BZ_X_CCRC_3      49
+ #define BZ_X_CCRC_4      50
+ 
+ 
+ 
+ /*-- Constants for the fast MTF decoder. --*/
+ 
+ #define MTFA_SIZE 4096
+ #define MTFL_SIZE 16
+ 
+ 
+ 
+ /*-- Structure holding all the decompression-side stuff. --*/
+ 
+ typedef
+    struct {
+       /* pointer back to the struct bz_stream */
+       bz_stream* strm;
+ 
+       /* state indicator for this stream */
+       Int32    state;
+ 
+       /* for doing the final run-length decoding */
+       UChar    state_out_ch;
+       Int32    state_out_len;
+       Bool     blockRandomised;
+       BZ_RAND_DECLS;
+ 
+       /* the buffer for bit stream reading */
+       UInt32   bsBuff;
+       Int32    bsLive;
+ 
+       /* misc administratium */
+       Int32    blockSize100k;
+       Bool     smallDecompress;
+       Int32    currBlockNo;
+       Int32    verbosity;
+ 
+       /* for undoing the Burrows-Wheeler transform */
+       Int32    origPtr;
+       UInt32   tPos;
+       Int32    k0;
+       Int32    unzftab[256];
+       Int32    nblock_used;
+       Int32    cftab[257];
+       Int32    cftabCopy[257];
+ 
+       /* for undoing the Burrows-Wheeler transform (FAST) */
+       UInt32   *tt;
+ 
+       /* for undoing the Burrows-Wheeler transform (SMALL) */
+       UInt16   *ll16;
+       UChar    *ll4;
+ 
+       /* stored and calculated CRCs */
+       UInt32   storedBlockCRC;
+       UInt32   storedCombinedCRC;
+       UInt32   calculatedBlockCRC;
+       UInt32   calculatedCombinedCRC;
+ 
+       /* map of bytes used in block */
+       Int32    nInUse;
+       Bool     inUse[256];
+       Bool     inUse16[16];
+       UChar    seqToUnseq[256];
+ 
+       /* for decoding the MTF values */
+       UChar    mtfa   [MTFA_SIZE];
+       Int32    mtfbase[256 / MTFL_SIZE];
+       UChar    selector   [BZ_MAX_SELECTORS];
+       UChar    selectorMtf[BZ_MAX_SELECTORS];
+       UChar    len  [BZ_N_GROUPS][BZ_MAX_ALPHA_SIZE];
+ 
+       Int32    limit  [BZ_N_GROUPS][BZ_MAX_ALPHA_SIZE];
+       Int32    base   [BZ_N_GROUPS][BZ_MAX_ALPHA_SIZE];
+       Int32    perm   [BZ_N_GROUPS][BZ_MAX_ALPHA_SIZE];
+       Int32    minLens[BZ_N_GROUPS];
+ 
+       /* save area for scalars in the main decompress code */
+       Int32    save_i;
+       Int32    save_j;
+       Int32    save_t;
+       Int32    save_alphaSize;
+       Int32    save_nGroups;
+       Int32    save_nSelectors;
+       Int32    save_EOB;
+       Int32    save_groupNo;
+       Int32    save_groupPos;
+       Int32    save_nextSym;
+       Int32    save_nblockMAX;
+       Int32    save_nblock;
+       Int32    save_es;
+       Int32    save_N;
+       Int32    save_curr;
+       Int32    save_zt;
+       Int32    save_zn; 
+       Int32    save_zvec;
+       Int32    save_zj;
+       Int32    save_gSel;
+       Int32    save_gMinlen;
+       Int32*   save_gLimit;
+       Int32*   save_gBase;
+       Int32*   save_gPerm;
+ 
+    }
+    DState;
+ 
+ 
+ 
+ /*-- Macros for decompression. --*/
+ 
+ #define BZ_GET_FAST(cccc)                     \
+     s->tPos = s->tt[s->tPos];                 \
+     cccc = (UChar)(s->tPos & 0xff);           \
+     s->tPos >>= 8;
+ 
+ #define BZ_GET_FAST_C(cccc)                   \
+     c_tPos = c_tt[c_tPos];                    \
+     cccc = (UChar)(c_tPos & 0xff);            \
+     c_tPos >>= 8;
+ 
+ #define SET_LL4(i,n)                                          \
+    { if (((i) & 0x1) == 0)                                    \
+         s->ll4[(i) >> 1] = (s->ll4[(i) >> 1] & 0xf0) | (n); else    \
+         s->ll4[(i) >> 1] = (s->ll4[(i) >> 1] & 0x0f) | ((n) << 4);  \
+    }
+ 
+ #define GET_LL4(i)                             \
+    ((((UInt32)(s->ll4[(i) >> 1])) >> (((i) << 2) & 0x4)) & 0xF)
+ 
+ #define SET_LL(i,n)                          \
+    { s->ll16[i] = (UInt16)(n & 0x0000ffff);  \
+      SET_LL4(i, n >> 16);                    \
+    }
+ 
+ #define GET_LL(i) \
+    (((UInt32)s->ll16[i]) | (GET_LL4(i) << 16))
+ 
+ #define BZ_GET_SMALL(cccc)                            \
+       cccc = BZ2_indexIntoF ( s->tPos, s->cftab );    \
+       s->tPos = GET_LL(s->tPos);
+ 
+ 
+ /*-- externs for decompression. --*/
+ 
+ extern Int32 
+ BZ2_indexIntoF ( Int32, Int32* );
+ 
+ extern Int32 
+ BZ2_decompress ( DState* );
+ 
+ extern void 
+ BZ2_hbCreateDecodeTables ( Int32*, Int32*, Int32*, UChar*,
+                            Int32,  Int32, Int32 );
+ 
+ 
+ #endif
+ 
+ 
+ /*-- BZ_NO_STDIO seems to make NULL disappear on some platforms. --*/
+ 
+ #ifdef BZ_NO_STDIO
+ #ifndef NULL
+ #define NULL 0
+ #endif
+ #endif
+ 
+ 
+ /*-------------------------------------------------------------*/
+ /*--- end                                   bzlib_private.h ---*/
+ /*-------------------------------------------------------------*/
diff -acprNC5 djgpp.orig/src/utils/djtar/crctable.c djgpp/src/utils/djtar/crctable.c
*** djgpp.orig/src/utils/djtar/crctable.c	Thu Jan  1 00:00:00 1970
--- djgpp/src/utils/djtar/crctable.c	Sun Dec  3 00:57:38 2000
***************
*** 0 ****
--- 1,147 ----
+ /* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */
+ 
+ /*-------------------------------------------------------------*/
+ /*--- Table for doing CRCs                                  ---*/
+ /*---                                            crctable.c ---*/
+ /*-------------------------------------------------------------*/
+ 
+ /*--
+   This file is a part of bzip2 and/or libbzip2, a program and
+   library for lossless, block-sorting data compression.
+ 
+   Copyright (C) 1996-2000 Julian R Seward.  All rights reserved.
+ 
+   Redistribution and use in source and binary forms, with or without
+   modification, are permitted provided that the following conditions
+   are met:
+ 
+   1. Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ 
+   2. The origin of this software must not be misrepresented; you must 
+      not claim that you wrote the original software.  If you use this 
+      software in a product, an acknowledgment in the product 
+      documentation would be appreciated but is not required.
+ 
+   3. Altered source versions must be plainly marked as such, and must
+      not be misrepresented as being the original software.
+ 
+   4. The name of the author may not be used to endorse or promote 
+      products derived from this software without specific prior written 
+      permission.
+ 
+   THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
+   OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+   ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+   DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+   DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+   GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ 
+   Julian Seward, Cambridge, UK.
+   jseward AT acm DOT org
+   bzip2/libbzip2 version 1.0 of 21 March 2000
+ 
+   This program is based on (at least) the work of:
+      Mike Burrows
+      David Wheeler
+      Peter Fenwick
+      Alistair Moffat
+      Radford Neal
+      Ian H. Witten
+      Robert Sedgewick
+      Jon L. Bentley
+ 
+   For more information on these sources, see the manual.
+ 
+   Minor changes for DJTAR program, Juan Manuel Guerrero   December 2000
+ --*/
+ 
+ 
+ #include "bzlib_private.h"
+ 
+ /*--
+   I think this is an implementation of the AUTODIN-II,
+   Ethernet & FDDI 32-bit CRC standard.  Vaguely derived
+   from code by Rob Warnock, in Section 51 of the
+   comp.compression FAQ.
+ --*/
+ 
+ UInt32 BZ2_crc32Table[256] = {
+ 
+    /*-- Ugly, innit? --*/
+ 
+    0x00000000L, 0x04c11db7L, 0x09823b6eL, 0x0d4326d9L,
+    0x130476dcL, 0x17c56b6bL, 0x1a864db2L, 0x1e475005L,
+    0x2608edb8L, 0x22c9f00fL, 0x2f8ad6d6L, 0x2b4bcb61L,
+    0x350c9b64L, 0x31cd86d3L, 0x3c8ea00aL, 0x384fbdbdL,
+    0x4c11db70L, 0x48d0c6c7L, 0x4593e01eL, 0x4152fda9L,
+    0x5f15adacL, 0x5bd4b01bL, 0x569796c2L, 0x52568b75L,
+    0x6a1936c8L, 0x6ed82b7fL, 0x639b0da6L, 0x675a1011L,
+    0x791d4014L, 0x7ddc5da3L, 0x709f7b7aL, 0x745e66cdL,
+    0x9823b6e0L, 0x9ce2ab57L, 0x91a18d8eL, 0x95609039L,
+    0x8b27c03cL, 0x8fe6dd8bL, 0x82a5fb52L, 0x8664e6e5L,
+    0xbe2b5b58L, 0xbaea46efL, 0xb7a96036L, 0xb3687d81L,
+    0xad2f2d84L, 0xa9ee3033L, 0xa4ad16eaL, 0xa06c0b5dL,
+    0xd4326d90L, 0xd0f37027L, 0xddb056feL, 0xd9714b49L,
+    0xc7361b4cL, 0xc3f706fbL, 0xceb42022L, 0xca753d95L,
+    0xf23a8028L, 0xf6fb9d9fL, 0xfbb8bb46L, 0xff79a6f1L,
+    0xe13ef6f4L, 0xe5ffeb43L, 0xe8bccd9aL, 0xec7dd02dL,
+    0x34867077L, 0x30476dc0L, 0x3d044b19L, 0x39c556aeL,
+    0x278206abL, 0x23431b1cL, 0x2e003dc5L, 0x2ac12072L,
+    0x128e9dcfL, 0x164f8078L, 0x1b0ca6a1L, 0x1fcdbb16L,
+    0x018aeb13L, 0x054bf6a4L, 0x0808d07dL, 0x0cc9cdcaL,
+    0x7897ab07L, 0x7c56b6b0L, 0x71159069L, 0x75d48ddeL,
+    0x6b93dddbL, 0x6f52c06cL, 0x6211e6b5L, 0x66d0fb02L,
+    0x5e9f46bfL, 0x5a5e5b08L, 0x571d7dd1L, 0x53dc6066L,
+    0x4d9b3063L, 0x495a2dd4L, 0x44190b0dL, 0x40d816baL,
+    0xaca5c697L, 0xa864db20L, 0xa527fdf9L, 0xa1e6e04eL,
+    0xbfa1b04bL, 0xbb60adfcL, 0xb6238b25L, 0xb2e29692L,
+    0x8aad2b2fL, 0x8e6c3698L, 0x832f1041L, 0x87ee0df6L,
+    0x99a95df3L, 0x9d684044L, 0x902b669dL, 0x94ea7b2aL,
+    0xe0b41de7L, 0xe4750050L, 0xe9362689L, 0xedf73b3eL,
+    0xf3b06b3bL, 0xf771768cL, 0xfa325055L, 0xfef34de2L,
+    0xc6bcf05fL, 0xc27dede8L, 0xcf3ecb31L, 0xcbffd686L,
+    0xd5b88683L, 0xd1799b34L, 0xdc3abdedL, 0xd8fba05aL,
+    0x690ce0eeL, 0x6dcdfd59L, 0x608edb80L, 0x644fc637L,
+    0x7a089632L, 0x7ec98b85L, 0x738aad5cL, 0x774bb0ebL,
+    0x4f040d56L, 0x4bc510e1L, 0x46863638L, 0x42472b8fL,
+    0x5c007b8aL, 0x58c1663dL, 0x558240e4L, 0x51435d53L,
+    0x251d3b9eL, 0x21dc2629L, 0x2c9f00f0L, 0x285e1d47L,
+    0x36194d42L, 0x32d850f5L, 0x3f9b762cL, 0x3b5a6b9bL,
+    0x0315d626L, 0x07d4cb91L, 0x0a97ed48L, 0x0e56f0ffL,
+    0x1011a0faL, 0x14d0bd4dL, 0x19939b94L, 0x1d528623L,
+    0xf12f560eL, 0xf5ee4bb9L, 0xf8ad6d60L, 0xfc6c70d7L,
+    0xe22b20d2L, 0xe6ea3d65L, 0xeba91bbcL, 0xef68060bL,
+    0xd727bbb6L, 0xd3e6a601L, 0xdea580d8L, 0xda649d6fL,
+    0xc423cd6aL, 0xc0e2d0ddL, 0xcda1f604L, 0xc960ebb3L,
+    0xbd3e8d7eL, 0xb9ff90c9L, 0xb4bcb610L, 0xb07daba7L,
+    0xae3afba2L, 0xaafbe615L, 0xa7b8c0ccL, 0xa379dd7bL,
+    0x9b3660c6L, 0x9ff77d71L, 0x92b45ba8L, 0x9675461fL,
+    0x8832161aL, 0x8cf30badL, 0x81b02d74L, 0x857130c3L,
+    0x5d8a9099L, 0x594b8d2eL, 0x5408abf7L, 0x50c9b640L,
+    0x4e8ee645L, 0x4a4ffbf2L, 0x470cdd2bL, 0x43cdc09cL,
+    0x7b827d21L, 0x7f436096L, 0x7200464fL, 0x76c15bf8L,
+    0x68860bfdL, 0x6c47164aL, 0x61043093L, 0x65c52d24L,
+    0x119b4be9L, 0x155a565eL, 0x18197087L, 0x1cd86d30L,
+    0x029f3d35L, 0x065e2082L, 0x0b1d065bL, 0x0fdc1becL,
+    0x3793a651L, 0x3352bbe6L, 0x3e119d3fL, 0x3ad08088L,
+    0x2497d08dL, 0x2056cd3aL, 0x2d15ebe3L, 0x29d4f654L,
+    0xc5a92679L, 0xc1683bceL, 0xcc2b1d17L, 0xc8ea00a0L,
+    0xd6ad50a5L, 0xd26c4d12L, 0xdf2f6bcbL, 0xdbee767cL,
+    0xe3a1cbc1L, 0xe760d676L, 0xea23f0afL, 0xeee2ed18L,
+    0xf0a5bd1dL, 0xf464a0aaL, 0xf9278673L, 0xfde69bc4L,
+    0x89b8fd09L, 0x8d79e0beL, 0x803ac667L, 0x84fbdbd0L,
+    0x9abc8bd5L, 0x9e7d9662L, 0x933eb0bbL, 0x97ffad0cL,
+    0xafb010b1L, 0xab710d06L, 0xa6322bdfL, 0xa2f33668L,
+    0xbcb4666dL, 0xb8757bdaL, 0xb5365d03L, 0xb1f740b4L
+ };
+ 
+ 
+ /*-------------------------------------------------------------*/
+ /*--- end                                        crctable.c ---*/
+ /*-------------------------------------------------------------*/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019