Home
last modified time | relevance | path

Searched refs:lower_lang_ext (Results 1 – 1 of 1) sorted by relevance

/external/selinux/libsemanage/src/
Dhandle.c145 char *lower_lang_ext = NULL; in semanage_get_hll_compiler_path() local
147 lower_lang_ext = strdup(lang_ext); in semanage_get_hll_compiler_path()
148 if (lower_lang_ext == NULL) { in semanage_get_hll_compiler_path()
154 for (i = 0; lower_lang_ext[i] != '\0'; i++) { in semanage_get_hll_compiler_path()
155 lower_lang_ext[i] = tolower(lower_lang_ext[i]); in semanage_get_hll_compiler_path()
158 len = strlen(sh->conf->compiler_directory_path) + strlen("/") + strlen(lower_lang_ext) + 1; in semanage_get_hll_compiler_path()
167 num_printed = snprintf(compiler, len, "%s/%s", sh->conf->compiler_directory_path, lower_lang_ext); in semanage_get_hll_compiler_path()
178 free(lower_lang_ext); in semanage_get_hll_compiler_path()