projects
/
platform
/
core
/
appfw
/
launchpad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38e9524
)
Add printing log for dlopen failure
06/167506/1
author
Semun Lee
<semun.lee@samsung.com>
Thu, 18 Jan 2018 05:07:16 +0000
(14:07 +0900)
committer
Semun Lee
<semun.lee@samsung.com>
Thu, 18 Jan 2018 05:08:50 +0000
(14:08 +0900)
Change-Id: I1d49786c392fea93933a50495015bfac97f04230
Signed-off-by: Semun Lee <semun.lee@samsung.com>
src/launchpad_loader.c
patch
|
blob
|
history
diff --git
a/src/launchpad_loader.c
b/src/launchpad_loader.c
index
6ad6284
..
8e75181
100644
(file)
--- a/
src/launchpad_loader.c
+++ b/
src/launchpad_loader.c
@@
-202,6
+202,10
@@
static void __preload_lib(bundle *b)
for (i = 0; i < len; i++) {
handle = dlopen(so_array[i], RTLD_NOW | RTLD_NODELETE);
_D("preload %s# - handle : %p", so_array[i], handle);
+ if (!handle) {
+ _E("failed to load: %s, err: %s",
+ so_array[i], dlerror());
+ }
}
}