Change-Id: Ide9da0519b200e45965546f621959f3db5422dcd
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
char buf[BUFFER_MAX];
char cmdPath[PATH_MAX];
char tPath[PATH_MAX];
+ char buf_res[PATH_MAX];
+ char tPath_res[PATH_MAX];
strcpy(tPath, appPath);
tlen = strlen(tPath);
buf[tlen - 4] = '\0';
}
- if(strcmp(buf, tPath) == 0)
+ dereference_tizen_exe_path(buf, buf_res);
+ dereference_tizen_exe_path(tPath, tPath_res);
+
+ if(strcmp(buf_res, tPath_res) == 0)
ret = 1;
else
ret = 0;