Searched refs:add_slash (Results 1 – 2 of 2) sorted by relevance
127 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); in get_charset_aliases() local128 file_name = (char *) malloc (dir_len + add_slash + base_len + 1); in get_charset_aliases()132 if (add_slash) in get_charset_aliases()134 memcpy (file_name + dir_len + add_slash, base, base_len + 1); in get_charset_aliases()
140 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); in get_charset_aliases() local141 file_name = (char *) malloc (dir_len + add_slash + base_len + 1); in get_charset_aliases()145 if (add_slash) in get_charset_aliases()147 memcpy (file_name + dir_len + add_slash, base, base_len + 1); in get_charset_aliases()