freebsd-nq/lib/libcompat
Ed Schouten 763ed73371 Trim down libcompat by removing <regexp.h>.
Erwin ran an exp-run with libcompat and <regexp.h> removed. It turns out
the regexp library is almost entirely unused. In fact, it looks like it
is sometimes used by accident. Because these function names clash with
libc's <regex.h>, some application use both <regex.h> and libcompat,
which means they link against the wrong regex library.

This commit removes the regexp library and reimplements re_comp() and
re_exec() using <regex.h>. It seems the grammar of the regular
expressions accepted by these functions is similar to POSIX EREs.

After this commit, 1 low-profile port will be broken, but the maintainer
already has a patch for it sitting in his mailbox.
2010-03-14 10:18:58 +00:00
..
4.1 Small style(9) cleanups. 2010-03-13 18:06:17 +00:00
4.3 Trim down libcompat by removing <regexp.h>. 2010-03-14 10:18:58 +00:00
4.4 K&R -> ANSI 2009-06-23 23:20:09 +00:00
Makefile Trim down libcompat by removing <regexp.h>. 2010-03-14 10:18:58 +00:00