(match): remove #ifdef HAVE_FNMATCH. We have a fnmatch implementation

in roken and therefore always have it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5359 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-02-13 17:48:29 +00:00
parent b06923755b
commit 8f96576576

View File

@@ -617,11 +617,7 @@ checkuser(char *fname, char *name)
static int
match(const char *pattern, const char *string)
{
#ifdef HAVE_FNMATCH
return fnmatch(pattern, string, FNM_NOESCAPE);
#else
return strcmp(pattern, "*") != 0 && strcmp(pattern, string) != 0;
#endif
}
static int