mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
763ed73371
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. |
||
---|---|---|
.. | ||
cfree.3 | ||
cfree.c | ||
re_comp.3 | ||
re_comp.c | ||
rexec.3 | ||
rexec.c |