zstd/zlibWrapper/examples
Yann Collet 18b795374a UTIL_getFileSize() returns UTIL_FILESIZE_UNKNOWN on failure
UTIL_getFileSize() used to return zero on failure.
This made it impossible to distinguish a failure from a genuine empty file.
Both cases where coalesced.

Adding UTIL_FILESIZE_UNKNOWN constant has many consequences on user code,
since in many places, the `0` was assumed to mean "error".
This is no longer the case, and the error code must be actively checked.
2017-10-17 16:14:25 -07:00
..
example_original.c copy zlib license into file header 2016-08-31 07:34:18 -07:00
example.c plainly marked altered files from zlib 2016-11-28 16:55:14 +01:00
fitblk_original.c improved zlibWrapper\Makefile 2016-09-22 10:23:58 +02:00
fitblk.c fixed zlib_wrapper conversion warnings 2016-12-22 15:26:33 +01:00
minigzip.c updated zlib copyright notice 2016-12-13 19:44:07 +01:00
zwrapbench.c UTIL_getFileSize() returns UTIL_FILESIZE_UNKNOWN on failure 2017-10-17 16:14:25 -07:00