libmpq
libmpq copied to clipboard
`libmpq__archive_open`: Distinguish between `ENOENT` and other errors
Currently libmpq__archive_open
returns LIBMPQ_ERROR_OPEN
both when the file does not exist and in other cases (such as no permissions).
It'd be useful for clients if this function returned LIBMPQ_ERROR_EXIST
on ENOENT
instead.