mirror of
https://github.com/kiwix/java-libkiwix.git
synced 2025-09-13 09:07:48 -04:00
Merge pull request #72 from kiwix/load_library_not_readonly
Do not read the library in readOnly mode.
This commit is contained in:
commit
853233ae37
@ -41,7 +41,7 @@ METHOD(jboolean, readFile, jstring path)
|
|||||||
{
|
{
|
||||||
auto cPath = TO_C(path);
|
auto cPath = TO_C(path);
|
||||||
|
|
||||||
return THIS->readFile(cPath);
|
return THIS->readFile(cPath, false);
|
||||||
} CATCH_EXCEPTION(false)
|
} CATCH_EXCEPTION(false)
|
||||||
|
|
||||||
METHOD(jboolean, readXml, jstring content, jstring libraryPath)
|
METHOD(jboolean, readXml, jstring content, jstring libraryPath)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user