Merge pull request #72 from kiwix/load_library_not_readonly

Do not read the library in readOnly mode.
This commit is contained in:
Kelson 2023-11-09 18:00:03 +01:00 committed by GitHub
commit 853233ae37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ METHOD(jboolean, readFile, jstring path)
{
auto cPath = TO_C(path);
return THIS->readFile(cPath);
return THIS->readFile(cPath, false);
} CATCH_EXCEPTION(false)
METHOD(jboolean, readXml, jstring content, jstring libraryPath)