"Fix kona issue DF200921-00401" 95/245295/1 accepted/tizen/6.0/unified/20201030.102612 accepted/tizen/6.0/unified/hotfix/20201103.045014 accepted/tizen/unified/20201007.035328 submit/tizen/20201007.064257 submit/tizen_6.0/20201029.205506 submit/tizen_6.0_hotfix/20201102.192906 submit/tizen_6.0_hotfix/20201103.115106 tizen_6.0.m2_release
authorsangwook lee <sangwook96.lee@samsung.com>
Wed, 7 Oct 2020 06:28:20 +0000 (15:28 +0900)
committersangwook lee <sangwook96.lee@samsung.com>
Wed, 7 Oct 2020 06:28:20 +0000 (15:28 +0900)
Change-Id: Ibca19f4d06aa716ae2462ee45469b02f67857bfd
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
src/default_plugin_appcmd.c
src/services.c

index fdbf42298d111d8cd41b3ebe54daf909cbcb9015..d6d04ff46cdfdea7715aa4c527bdbed76422fd6f 100755 (executable)
@@ -541,6 +541,7 @@ static int exec_appcmd_shell_process(appcmd_info* p_info) {
     char *envp[] = {
         "TERM=linux", /* without this, some programs based on screen can't work, e.g. top */
         "DISPLAY=:0", /* without this, some programs based on without launchpad can't work */
+        "HISTFILE=", /*kona issue  https://kona.sec.samsung.net/kona_server/workitem/defectInfo.do?idWorkItem=DF200921-00401 */
         NULL,
         NULL,
         NULL,
index bba01a000641e72cb758084274164f7faa97efd3..f26d0ae32a9b82ebf2058be6e7885ee2a75d63f7 100755 (executable)
@@ -682,6 +682,7 @@ static int create_subproc_thread(const char *name, int lines, int columns)
 
     envp[envp_cnt++] = strdup("TERM=linux");
     envp[envp_cnt++] = strdup("DISPLAY=:0");
+    envp[envp_cnt++] = strdup("HISTFILE=");
 
     if (should_drop_privileges()) {
         if (g_sdk_home_dir_env) {
@@ -957,6 +958,7 @@ static int create_extcmd_subproc_thread(const char *name, int lines, int columns
 
     envp[envp_cnt++] = strdup("TERM=linux");
     envp[envp_cnt++] = strdup("DISPLAY=:0");
+    envp[envp_cnt++] = strdup("HISTFILE=");
 
     if (should_drop_privileges()) {
         if (g_sdk_home_dir_env) {