From 1cea028198c6ed56b5608060e89aa7d5659e7abe Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 14 Mar 2010 10:18:58 +0000 Subject: Trim down libcompat by removing . Erwin ran an exp-run with libcompat and 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 , some application use both 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 . 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. --- ObsoleteFiles.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ObsoleteFiles.inc') 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 and -- cgit v1.1