1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00
freebsd/lib/libcompat/4.3
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
..
cfree.3
cfree.c Small style(9) cleanups. 2010-03-13 18:06:17 +00:00
re_comp.3 Trim down libcompat by removing <regexp.h>. 2010-03-14 10:18:58 +00:00
re_comp.c Trim down libcompat by removing <regexp.h>. 2010-03-14 10:18:58 +00:00
rexec.3
rexec.c