In article <20170421221544.6b4eaf...@cvs.netbsd.org>, Simon J. Gerraty <source-changes-d@NetBSD.org> wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: sjg >Date: Fri Apr 21 22:15:44 UTC 2017 > >Modified Files: > src/usr.bin/make: str.c > src/usr.bin/make/unit-tests: modmatch.exp modmatch.mk > >Log Message: >Str_Match: fix closure tests for [^] and add unit-test.
I think this is just another bad copy of: https://nxr.netbsd.org/xref/src/sys/lib/libkern/pmatch.c and it is useful to make it available from userland, so others can use it without fixing bug after bug in it :-) christos