diff options
| author | hypnotoad <yoda@etoyoc.com> | 2017-11-08 09:41:00 (GMT) |
|---|---|---|
| committer | hypnotoad <yoda@etoyoc.com> | 2017-11-08 09:41:00 (GMT) |
| commit | b2722c42b1a43b10ba1047b6be28d5b4663732b8 (patch) | |
| tree | e23cb491d47c82dd36f752d4f7981534ab9b9aa1 /generic/tclZipfs.c | |
| parent | c2dfae075806fd3b5117755f85ba3e8a3a6c2170 (diff) | |
| download | tcl-b2722c42b1a43b10ba1047b6be28d5b4663732b8.zip tcl-b2722c42b1a43b10ba1047b6be28d5b4663732b8.tar.gz tcl-b2722c42b1a43b10ba1047b6be28d5b4663732b8.tar.bz2 | |
Pairing down the tip#430 branch to only include files and utilities
called out by the tip. Eliminated the header files tclZipfs.h and
zcrypt.h. The only public calls for tclZipfs.h are now in the stubs
table and the contents of zcrypt.h are already part of the minizip
implementation that Tcl keeps around in the compat/zlib/contrib/minizip
directory. tclBootVFS.h hasn't been used by the implementation in a while.
Alos eliminated the mkzip.tcl facility from tools/. The C based mkzip is
much faster and more reliable
Diffstat (limited to 'generic/tclZipfs.c')
| -rw-r--r-- | generic/tclZipfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclZipfs.c b/generic/tclZipfs.c index 9d74890..fe4553e 100644 --- a/generic/tclZipfs.c +++ b/generic/tclZipfs.c @@ -4,7 +4,7 @@ * Implementation of the ZIP filesystem used in TIP 430 * Adapted from the implentation for AndroWish. * - * Coptright (c) 2016 Sean Woods <yoda@etoyoc.com> + * Coptright (c) 2016-2017 Sean Woods <yoda@etoyoc.com> * Copyright (c) 2013-2015 Christian Werner <chw@ch-werner.de> * * See the file "license.terms" for information on usage and redistribution of @@ -26,7 +26,7 @@ #ifdef HAVE_ZLIB #include "zlib.h" -#include "zcrypt.h" +#include "crypt.h" #define ZIPFS_VOLUME "zipfs:/" #define ZIPFS_VOLUME_LEN 7 @@ -235,7 +235,7 @@ static const char pwrot[16] = { * Table to compute CRC32. */ -static const unsigned int crc32tab[256] = { +static const unsigned long crc32tab[256] = { 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988, 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, |
