projects
/
framework
/
osp
/
appfw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e09379
)
Prevent defect fix(48485)
author
darpan.ka
<darpan.ka@samsung.com>
Wed, 3 Apr 2013 09:09:49 +0000
(14:39 +0530)
committer
darpan.ka
<darpan.ka@samsung.com>
Wed, 3 Apr 2013 09:09:49 +0000
(14:39 +0530)
Change-Id: Ib60e1d0d3a1710a7c416969f8c0860583646aff9
Signed-off-by: darpan.ka <darpan.ka@samsung.com>
src/locales/FLcl_LocaleManagerImpl.cpp
patch
|
blob
|
history
diff --git
a/src/locales/FLcl_LocaleManagerImpl.cpp
b/src/locales/FLcl_LocaleManagerImpl.cpp
index
2c4b365
..
ff97ee7
100644
(file)
--- a/
src/locales/FLcl_LocaleManagerImpl.cpp
+++ b/
src/locales/FLcl_LocaleManagerImpl.cpp
@@
-479,6
+479,8
@@
_LocaleManagerImpl::GetSystemTimeZone(void)
{
char tz[PATH_MAX + 1];
int len = readlink("/opt/etc/localtime", tz, PATH_MAX);
+
+ SysTryReturn(NID_LCL, len > 0, TimeZone(-1, ""), E_SYSTEM, "It is failed to get System Time Zone");
tz[len] = '\0';
SysTryReturn(NID_LCL, len > 20, TimeZone(-1, ""), E_SYSTEM, "It is failed to get System Time Zone");