Date: Sun, 12 Aug 2001 19:10:29 -0400 From: "Brian F. Feldman" <green@FreeBSD.org> To: "Akinori MUSHA" <knu@iDaemons.org> Cc: Mike Barcroft <mike@FreeBSD.org>, audit@FreeBSD.org Subject: Re: adding -P option to pkg_delete(1) Message-ID: <200108122310.f7CNAUZ01898@green.bikeshed.org> In-Reply-To: Your message of "Mon, 13 Aug 2001 06:12:15 %2B0900." <86ofpl0yq8.wl@archon.local.idaemons.org>
next in thread | previous in thread | raw e-mail | index | archive | help
static Boolean is_shlib(const char *filename) { regex_t reg; Boolean ret; if (regcomp(®, "[^/]\\.so(\\.[[:digit:]]+)*$", REG_EXTENDED) != 0) return (FALSE); ret = regexec(®, filename, 0, NULL, 0) == 0; regfree(®); return (ret); } -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108122310.f7CNAUZ01898>