Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/pkg_install/dist/admin/
H A Daudit.c390 const char *delim, *end_base; in check_pkg_history_pattern() local
393 end_base = NULL; in check_pkg_history_pattern()
397 end_base = delim; in check_pkg_history_pattern()
400 if (end_base == NULL) in check_pkg_history_pattern()
409 end_base = delim; in check_pkg_history_pattern()
410 if ((delim = strchr(pattern, '<')) != NULL && delim < end_base) in check_pkg_history_pattern()
414 end_base = delim; in check_pkg_history_pattern()
415 } else if ((end_base = strrchr(pattern, '-')) == NULL) { in check_pkg_history_pattern()
420 if (strncmp(pkg, pattern, end_base - pattern) != 0) in check_pkg_history_pattern()
422 if (pkg[end_base - pattern] != '\0') in check_pkg_history_pattern()