summaryrefslogtreecommitdiff
path: root/archival/libunarchive/unzip.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move from read_gz to the pipe()+fork() method.Glenn L McGrath2003-11-151-99/+41
| | | | | | | | | open_transformer(), common code for pipe+fork. Function pointer for read() no longer needed. Allow inflate to be initialised with a specified buffer size to avoid over-reading. Reset static variables in inflate_get_next_window to fix a bug where only the first file in a .zip would be be extracted.
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-1/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-16/+16
|
* Woops, my gunzip fix broke unzip, these cant be staticGlenn L McGrath2003-02-091-2/+2
|
* Fix endian probelm on PPC, i had different types for an extern variable.Glenn L McGrath2003-02-091-13/+40
|
* fix warningGlenn L McGrath2002-12-011-1/+1
|
* Add an input buffer (currently 32kB) to speed things up heaps, it still ↵Glenn L McGrath2002-11-241-9/+30
| | | | requires 25% longer to decompress as compared to upstream.
* Speed and memory usage improvements from Laurence AdnersonGlenn L McGrath2002-11-201-82/+95
|
* read_gz patch 3 from Laurence AndersonGlenn L McGrath2002-11-201-72/+94
|
* Patch from Laurence Anderson to provide a read_gz function, doesnt require ↵Glenn L McGrath2002-11-171-28/+81
| | | | fork(), pipe(), consistent with read_bz2 and more flexible.
* New common unarchive code.Glenn L McGrath2002-09-251-456/+291
|
* Patch from Matthias Lang <matthias@corelatus.se> to fix gunzipEric Andersen2002-09-161-26/+63
| | | | error handling and prevent gunzip from hanging.
* replace some global const ints with definesGlenn L McGrath2002-08-221-4/+4
|
* Run through indent, fix commentsGlenn L McGrath2002-08-221-373/+382
|
* Support old-style compress (.Z) files via libbb / unzip( ) callsRobert Griebl2002-05-151-1/+17
| | | | | (configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip)
* Reinitialize initial shift register value for on each pass.Eric Andersen2002-03-201-1/+3
| | | | -Erik
* unzip applet by Laurence AndersonGlenn L McGrath2002-01-021-25/+23
| | | | ----------------------------------------------------------------------
* More copyright and email addr cleanupsEric Andersen2001-12-061-2/+2
|
* Commit my improvement on Rodney Brown's patch to g(un)zip, decreasingAaron Lehmann2001-12-061-26/+29
| | | | binary size.
* Simplify unzip(), remove unused checks and unneccessary variablesGlenn L McGrath2001-12-051-51/+27
|
* Simplify CRC table generationGlenn L McGrath2001-12-051-11/+5
|
* gunzip was incorrectly reporting a failed crc and length (discovered byGlenn L McGrath2001-11-291-0/+8
| | | | | Chang, Shu-Hao). The bitbuffer needs to be unwound after decompression, as it was eating into the crc/size field.
* Scrub up some function prototypes.Eric Andersen2001-10-181-3/+3
| | | | -Erik
* This is vodz' latest patch. Sorry it took so long...Eric Andersen2001-07-171-10/+6
| | | | | | | | | 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
* Dont setvbuff in here, must be called just after stream is initialised, ↵Glenn L McGrath2001-07-131-3/+0
| | | | glibc tolerates using it later, uclibc doesnt
* free coniditionally, just to make it play nice with dmalloc which is ↵Glenn L McGrath2001-07-111-2/+6
| | | | incompatable with standard free()
* Add some missing includes to kill warnings when building with the defaultManuel Novoa III2001-06-291-0/+1
| | | | | | | Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c.
* Fix a type promotion bug discivered and analyzed by Alan ModraEric Andersen2001-06-271-1/+1
| | | | <amodra@bigpond.net.au>, which caused false checksum errors
* Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric Andersen2001-04-251-4/+0
| | | | | | | This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik
* Eliminated seeks so that we work correctly on pipes, and removed reliance onMatt Kraai2001-04-181-2/+9
| | | | | undefined evaluation ordering. Thanks to Anthony Towns for explanation and solution.
* Disable sigtermGlenn L McGrath2001-04-111-3/+3
|
* Move unzip, gz_open, gz_close to libbbGlenn L McGrath2001-04-111-0/+1025