projects
/
platform
/
core
/
system
/
buxton2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f21702d
)
modify to get errno using vconf_notify_key_changed
89/63289/1
accepted/tizen/common/20160324.084237
accepted/tizen/common/20160325.134913
accepted/tizen/ivi/20160324.131645
accepted/tizen/mobile/20160324.132922
accepted/tizen/tv/20160324.132743
accepted/tizen/wearable/20160324.132707
submit/tizen/20160323.065638
submit/tizen/20160323.235918
author
Jiwoong Im
<jiwoong.im@samsung.com>
Wed, 23 Mar 2016 05:28:10 +0000
(14:28 +0900)
committer
Jiwoong Im
<jiwoong.im@samsung.com>
Wed, 23 Mar 2016 05:32:59 +0000
(14:32 +0900)
- modify to get errno by vconf_get_ext_errno,
if vconf_notify_key_changed returns error.
Change-Id: Ia748405b413296ad8978e2eb59a7608b11cd5b33
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
vconf-compat/vconf.c
patch
|
blob
|
history
diff --git
a/vconf-compat/vconf.c
b/vconf-compat/vconf.c
index
89d3c55
..
caebeb5
100644
(file)
--- a/
vconf-compat/vconf.c
+++ b/
vconf-compat/vconf.c
@@
-402,6
+402,7
@@
EXPORT int vconf_notify_key_changed(const char *key, vconf_callback_fn cb,
{
int r;
struct noti *noti;
+ last_result = false;
if (!key || !cb) {
errno = EINVAL;
@@
-420,6
+421,9
@@
EXPORT int vconf_notify_key_changed(const char *key, vconf_callback_fn cb,
_close();
+ if (r == 0)
+ last_result = true;
+
return r;
}