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