Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/svr4pkg/pkgremove/
H A Dspecial.c92 match(const char *pc, char *pcrule) in match() argument
94 int n = strlen(pcrule); in match()
96 if (pcrule[n - 1] == '*') { in match()
98 pcrule[n - 1] = '\0'; in match()
102 if (fnmatch(pc, pcrule, FNM_PATHNAME) == 0 || in match()
103 fnmatch(pc, pcrule, 0) == 0) in match()
107 j = strncmp(pc, pcrule, n - 1); in match()
108 pcrule[n - 1] = '*'; in match()