diff options
author | ed <ed@FreeBSD.org> | 2010-03-14 10:18:58 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-03-14 10:18:58 +0000 |
commit | 1cea028198c6ed56b5608060e89aa7d5659e7abe (patch) | |
tree | c365d6fb8c2688382e96810f92cb4dc54afb61d5 /ObsoleteFiles.inc | |
parent | 99abac2a53c337492f4c428b7f251c04bc07fda4 (diff) | |
download | FreeBSD-src-1cea028198c6ed56b5608060e89aa7d5659e7abe.zip FreeBSD-src-1cea028198c6ed56b5608060e89aa7d5659e7abe.tar.gz |
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.
Diffstat (limited to 'ObsoleteFiles.inc')
-rw-r--r-- | ObsoleteFiles.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index e576e9e..fe0f4f2 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -14,6 +14,10 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20100314: removal of regexp.h +OLD_FILES+=usr/include/regexp.h +OLD_FILES+=usr/share/man/man3/regexp.3.gz +OLD_FILES+=usr/share/man/man3/regsub.3.gz # 20100303: actual removal of utmp.h OLD_FILES+=usr/include/utmp.h # 20100227: [ia64] removed <machine/sapicreg.h> and <machine/sapicvar.h> |