libmpq icon indicating copy to clipboard operation
libmpq copied to clipboard

`libmpq__archive_open`: Distinguish between `ENOENT` and other errors

Open glebm opened this issue 3 years ago • 0 comments

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.

glebm avatar Oct 24 '21 12:10 glebm