Remove access() call
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 12 Apr 2022 08:15:07 +0000 (17:15 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 12 Apr 2022 23:07:04 +0000 (08:07 +0900)
When getting the locale path, the application core checks whether the path
exists or not. And, if it does not exist, the function prints the log for debugging.
This patch removes it. It makes a delay issue about launching an application
at boot up time.

Change-Id: I1733f7e293baca052aeac1a48207bd00e5cc2bbc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/base/appcore_base.c

index bc59c739785ca2d9af2279468200d1c998b33b25..40c0b1e25fc2a5cf8892e9971bb2923786c7ede1 100644 (file)
@@ -990,9 +990,6 @@ static int __get_locale_resource_dir(char *locale_dir, int size)
        }
 
        snprintf(locale_dir, size, "%s" PATH_LOCALE, res_path);
-       if (access(locale_dir, R_OK) != 0)
-               _DBG("%s does not exist", locale_dir);
-
        return 0;
 }