Lines Matching defs:spec
118 pkgnmchk(char *pkg, char *spec, int presvr4flg)
125 * this routine reacts based on the value passed in spec:
126 * NULL pkg must be valid and may be a wildcard spec
132 if (valname(pkg, ((spec == NULL) ? 1 : 0)))
135 if ((spec == NULL) || (strcmp(spec, "all") == 0))
138 while (*pkg == *spec) {
139 if ((strcmp(spec, WILD1) == 0) || (strcmp(spec, WILD2) == 0))
140 break; /* wildcard spec, so stop right here */
143 spec++;
146 if ((strcmp(spec, WILD1) == 0) || (strcmp(spec, WILD2) == 0))