summaryrefslogtreecommitdiff
path: root/test/minigzip.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove K&R function definitions from zlib.Mark Adler2023-04-151-122/+50
| | | | | | | C2X has removed K&R definitions from the C function syntax. Though the standard has not yet been approved, some high-profile compilers are now issuing warnings when such definitions are encountered.
* Avoid conversion warning in minigzip.c.Mark Adler2022-10-011-1/+1
|
* zlib 1.2.9v1.2.9Mark Adler2016-12-311-1/+1
|
* Avoid some random compiler warnings on various platforms.Mark Adler2016-12-301-2/+2
|
* Allow minigzip to compile when testing with ./configure --solo.Mark Adler2016-12-301-1/+1
|
* Use snprintf() for later versions of Microsoft C.Mark Adler2016-12-301-1/+1
|
* Create z_size_t and z_ssize_t types.Mark Adler2016-12-041-1/+1
| | | | | | Normally these are set to size_t and ssize_t. But if they do not exist, then they are set to the smallest integer type that can contain a pointer. size_t is unsigned and ssize_t is signed.
* Make globals in examples local to compilation unit.Mark Adler2016-10-141-1/+1
|
* Use _snprintf for snprintf under Microsoft C in test/minigzip.c.Mark Adler2012-06-031-0/+4
|
* Replace use of unsafe string functions with snprintf if available.Mark Adler2012-05-021-0/+16
| | | | | | | | | | | | This avoids warnings in OpenBSD that apparently can't be turned off whenever you link strcpy, strcat, or sprintf. When snprintf isn't available, the use of the "unsafe" string functions has always in fact been safe, since the lengths are all checked before those functions are called. We do not use strlcpy or strlcat, since they are not (yet) found on all systems. snprintf on the other hand is part of the C standard library and is very common.
* Fix bug in test/minigzip.c for configure --solo.Mark Adler2012-03-031-1/+1
|
* Move example.c and minigzip.c to test/.Mark Adler2011-11-271-0/+631