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 /include/Makefile | |
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 'include/Makefile')
-rw-r--r-- | include/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile index 509bd47..96690ad 100644 --- a/include/Makefile +++ b/include/Makefile @@ -17,7 +17,7 @@ INCS= a.out.h ar.h assert.h bitstring.h complex.h cpio.h _ctype.h ctype.h \ ndbm.h netconfig.h \ netdb.h nl_types.h nlist.h nss.h nsswitch.h paths.h \ printf.h proc_service.h pthread.h \ - pthread_np.h pwd.h ranlib.h readpassphrase.h regex.h regexp.h \ + pthread_np.h pwd.h ranlib.h readpassphrase.h regex.h \ res_update.h resolv.h runetype.h search.h semaphore.h setjmp.h \ signal.h spawn.h stab.h \ stdbool.h stddef.h stdio.h stdlib.h string.h stringlist.h \ |