xfree (uname);
uname = unique_name (name, false);
}
- if (opened_name && fp != NULL)
+ if (opened_name)
{
if (fp)
*opened_name = uname;
return false; /* tail is longer than string. */
if (!fold_case)
- return strcmp (string + pos, tail);
+ return !strcmp (string + pos, tail);
else
- return strcasecmp (string + pos, tail);
+ return !strcasecmp (string + pos, tail);
}
/* Checks whether string S matches each element of ACCEPTS. A list