Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error in MinizipResourceProvider #1280

Open
WeeKwok opened this issue Feb 9, 2023 · 0 comments
Open

An error in MinizipResourceProvider #1280

WeeKwok opened this issue Feb 9, 2023 · 0 comments

Comments

@WeeKwok
Copy link

WeeKwok commented Feb 9, 2023

MinizipResourceProvider.cpp line 43 # define FNMATCH(p, s) PathMatchSpec(s, p)

According to docs for PathMatchSpecW, PathMatchSpec return a value with BOOL type, it Returns TRUE ( 1 ) if the string matches, or FALSE ( 0 ) otherwise.

Accoding to docs for fnmatch, fnmatch return Zero if string matches pattern, FNM_NOMATCH if there is no match or another nonzero value if there is an error.

If FNMATCH return Zero, it means FAIL on WIN32, and SUCCESS on Unix-like platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant