18b795374a
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. |
||
---|---|---|
.. | ||
example_original.c | ||
example.c | ||
fitblk_original.c | ||
fitblk.c | ||
minigzip.c | ||
zwrapbench.c |