projects
/
platform
/
core
/
appfw
/
app-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd5de41
)
Change LC_ALL value
author
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 13 Nov 2018 06:07:35 +0000
(15:07 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 13 Nov 2018 23:53:17 +0000
(08:53 +0900)
While updating language information, appcore sets LC_ALL variable to the
environment.
Change-Id: I9617e2d10c52d29cc0f6eebee576ef9302f8d24a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/base/appcore_base.c
patch
|
blob
|
history
diff --git
a/src/base/appcore_base.c
b/src/base/appcore_base.c
index 33bd0bc192532a763de46a4c831b49555866c11a..74639aae0c7e3b679a928c6460382323fa62224b 100644
(file)
--- a/
src/base/appcore_base.c
+++ b/
src/base/appcore_base.c
@@
-668,6
+668,7
@@
static void __update_lang(void)
}
setenv("LANG", lang, 1);
setenv("LC_MESSAGES", lang, 1);
+ setenv("LC_ALL", lang, 1);
r = setlocale(LC_ALL, "");
if (r == NULL) {
r = setlocale(LC_ALL, "en_US.UTF-8");