projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa16397
)
Fix description generator
author
pius.lee
<pius.lee@samsung.com>
Wed, 15 Jul 2015 03:38:13 +0000
(12:38 +0900)
committer
pius.lee
<pius.lee@samsung.com>
Wed, 15 Jul 2015 03:41:34 +0000
(12:41 +0900)
Finish it with _exit function for ignore unintentional destructor in SO
Change-Id: I6dd69e9d4ec7da2ad7863b168d8b5d5d99f38921
src/tool/desc_gentool.cc
patch
|
blob
|
history
diff --git
a/src/tool/desc_gentool.cc
b/src/tool/desc_gentool.cc
index 690667c4451bfec5054103bfac20859988617a9e..69fc6ceb2fcccf58a95de7212766d44d1ef65212 100644
(file)
--- a/
src/tool/desc_gentool.cc
+++ b/
src/tool/desc_gentool.cc
@@
-6,6
+6,7
@@
#include <dlfcn.h>
#include <dirent.h>
+#include <unistd.h>
#include <common/extension.h>
@@
-209,5
+210,8
@@
int main(int argc, char* argv[]) {
return -1;
}
+ // it would be need for ignore loaded libraries destructor
+ _exit(0);
+
return 0;
}