未验证 提交 7916987d 编写于 作者: O openharmony_ci 提交者: Gitee

!733 修复dlopen失败dlerror返回值为null

Merge pull request !733 from maweiye/add-dlerror-info
......@@ -3074,6 +3074,10 @@ static void *dlopen_impl(
goto end;
}
if (!load_library_header(task)) {
error(noload ?
"Library %s is not already loaded" :
"Error loading shared library %s: %m",
file);
LD_LOGE("dlopen_impl load library header failed for %{public}s", task->name);
goto end;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册