Home
last modified time | relevance | path

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

/external/selinux/libsemanage/src/
Dhandle.c149 char *lower_lang_ext = NULL; in semanage_get_hll_compiler_path() local
151 lower_lang_ext = strdup(lang_ext); in semanage_get_hll_compiler_path()
152 if (lower_lang_ext == NULL) { in semanage_get_hll_compiler_path()
158 for (i = 0; lower_lang_ext[i] != '\0'; i++) { in semanage_get_hll_compiler_path()
159 lower_lang_ext[i] = tolower(lower_lang_ext[i]); in semanage_get_hll_compiler_path()
162 len = strlen(sh->conf->compiler_directory_path) + strlen("/") + strlen(lower_lang_ext) + 1; in semanage_get_hll_compiler_path()
171 num_printed = snprintf(compiler, len, "%s/%s", sh->conf->compiler_directory_path, lower_lang_ext); in semanage_get_hll_compiler_path()
182 free(lower_lang_ext); in semanage_get_hll_compiler_path()