summaryrefslogtreecommitdiff
path: root/gzlib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Attempt to convert the wchar_t path in gzopen_w() for errors.Mark Adler2012-03-181-3/+20
| | | | | | | The conversion to multi-byte will be locale-specific, but it's better than nothing and is only to provide more information in the error message returned by gz_error(). The conversion has no effect on what's opened.
* Fix syntax error in gzlib.c.Mark Adler2012-03-181-1/+1
|
* More fixes for gzopen_w().Mark Adler2012-03-181-2/+3
| | | | | | Also need to #include <stddef.h> for zlib.h, and need to workaround the inability to use wide characters in constructed error messages with zlib's interface.
* Fix gzopen_w() type and add #include for the type.Mark Adler2012-03-171-1/+1
|
* Add gzopen_w() in Windows for wide character path names.Mark Adler2012-03-161-16/+32
|
* Update copyright years in gzlib.c.Mark Adler2012-03-101-1/+1
|
* Avoid warnings when O_CLOEXEC or O_EXCL are not defined.Mark Adler2012-03-101-1/+10
|
* Make sure that O_EXCL is used portably.Mark Adler2012-03-041-4/+7
|
* Add "x" (O_EXCL) and "e" (O_CLOEXEC) modes support to gzopen().Mark Adler2012-03-031-1/+11
|
* Do not use _lseeki64 under Borland C++ [Truta].Mark Adler2011-12-181-1/+1
|
* Fix gzeof() to behave just like feof() when read is not past end of file.Mark Adler2011-12-111-3/+6
| | | | | | | | Before, gzeof() would return true (accurately) when the last read request went just up to the end of the uncompressed data. In the analogous case, feof() would return false, only returning true when a read request goes past the end of the file. This patch corrects gzeof() to behave in the same way as feof(), as noted in the zlib.h documentation.
* Add a transparent write mode to gzopen() when 'T' is in the mode.Mark Adler2011-10-021-1/+12
|
* Always add large file support for windowsTor Lillqvist2011-10-011-0/+4
|
* Update copyright dates on gz* source files.Mark Adler2011-09-301-1/+1
|
* Change gzgetc() to a macro for speed (~40% speedup in testing).Mark Adler2011-09-261-17/+21
|
* Simplify gzseek() now that raw after gzip is ignored.Mark Adler2011-09-261-1/+1
|
* Allow gzrewind() and gzseek() after a premature end-of-file.Mark Adler2011-09-261-2/+3
|
* Allow gzread() and related to continue after gzclearerr().Mark Adler2011-09-261-2/+2
| | | | | | | | | | | | | | | | | | | | | Before this fix, gzread() would lose data if a premature end of file was encountered. This prevented gzread() from being used on a file that was being written concurrently. Now gzread() returns all of the data it has available before indicating a premature end of file. This also changes the error returned on a premature end of file from Z_DATA_ERROR to Z_BUF_ERROR. This allows the user to determine if the error is recoverable, which it is if Z_BUF_ERROR is returned. If a Z_DATA_ERROR is returned, then the error is not recoverable. This patch replaces the functionality of a previous patch that fixed reading through an empty gzip stream in a concatenation of gzip streams. To implement this fix, a noticeable rewrite of gzread.c was needed. The patch has the added advantage of using inflate's gzip processing instead of replicating the functionality in gzread.c. This makes the gz code a little simpler.
* zlib 1.2.5.1v1.2.5.1Mark Adler2011-09-111-0/+4
|
* zlib 1.2.4.5v1.2.4.5Mark Adler2011-09-091-3/+3
|
* zlib 1.2.4.3v1.2.4.3Mark Adler2011-09-091-1/+1
|
* zlib 1.2.4.2v1.2.4.2Mark Adler2011-09-091-2/+4
|
* zlib 1.2.4.1v1.2.4.1Mark Adler2011-09-091-5/+5
|
* zlib 1.2.4-pre1v1.2.4-pre1Mark Adler2011-09-091-9/+10
|
* zlib 1.2.3.9v1.2.3.9Mark Adler2011-09-091-12/+10
|
* zlib 1.2.3.8v1.2.3.8Mark Adler2011-09-091-8/+28
|
* zlib 1.2.3.7v1.2.3.7Mark Adler2011-09-091-14/+14
|
* zlib 1.2.3.6v1.2.3.6Mark Adler2011-09-091-33/+36
|
* zlib 1.2.3.5v1.2.3.5Mark Adler2011-09-091-0/+513