Searched refs:tokend (Results 1 – 1 of 1) sorted by relevance
734 char *tokend; in find_and_set_default_shell() local748 tokend = search_token + strlen (search_token) - 3; in find_and_set_default_shell()749 if (((tokend == search_token in find_and_set_default_shell()750 || (tokend > search_token in find_and_set_default_shell()751 && (tokend[-1] == '/' || tokend[-1] == '\\'))) in find_and_set_default_shell()752 && !strcmpi (tokend, "cmd")) in find_and_set_default_shell()753 || ((tokend - 4 == search_token in find_and_set_default_shell()754 || (tokend - 4 > search_token in find_and_set_default_shell()755 && (tokend[-5] == '/' || tokend[-5] == '\\'))) in find_and_set_default_shell()756 && !strcmpi (tokend - 4, "cmd.exe"))) { in find_and_set_default_shell()