1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/include
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
..
arpa Remove clause 3 from Berkeley copyrights. Add a few $FreeBSD$'s. 2010-02-16 19:46:46 +00:00
gssapi
protocols Remove clause 3 from Berkeley copyrights. Add a few $FreeBSD$'s. 2010-02-16 19:46:46 +00:00
rpc
rpcsvc
_ctype.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
a.out.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
ar.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
assert.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
bitstring.h
complex.h
cpio.h
ctype.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
db.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
dirent.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
dlfcn.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
elf-hints.h
elf.h
err.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
fmtmsg.h
fnmatch.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
fstab.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
fts.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
ftw.h
getopt.h Remove NetBSD Foundation clauses 3 & 4. They eliminated those clauses 2010-02-16 19:28:10 +00:00
glob.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
grp.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
gssapi.h
hesiod.h Remove NetBSD Foundation clauses 3 & 4. They eliminated those clauses 2010-02-16 19:28:10 +00:00
histedit.h
ieeefp.h
ifaddrs.h
inttypes.h
iso646.h
kenv.h
langinfo.h
libgen.h
limits.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
link.h
locale.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
Makefile Trim down libcompat by removing <regexp.h>. 2010-03-14 10:18:58 +00:00
malloc_np.h
malloc.h
memory.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
monetary.h
mpool.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
mqueue.h
ndbm.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
netconfig.h
netdb.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
nl_types.h Remove NetBSD Foundation clauses 3 & 4. They eliminated those clauses 2010-02-16 19:28:10 +00:00
nlist.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
nss.h
nsswitch.h Remove NetBSD Foundation clauses 3 & 4. They eliminated those clauses 2010-02-16 19:28:10 +00:00
paths.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
printf.h
proc_service.h
pthread_np.h
pthread.h
pwd.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
ranlib.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
readpassphrase.h
regex.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
res_update.h
resolv.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
runetype.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
search.h
semaphore.h Use umtx to implement process sharable semaphore, to make this work, 2010-01-05 02:37:59 +00:00
setjmp.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
signal.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
spawn.h
stab.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
stdbool.h
stddef.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
stdio.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
stdlib.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
string.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
stringlist.h
strings.h This should read #if __BSD_VISIBLE instead of #ifdef __BSD_VISIBLE. 2010-01-04 18:46:54 +00:00
sysexits.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
tar.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
termios.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
tgmath.h
time.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
timeconv.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
timers.h
ttyent.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
ulimit.h
unistd.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
utime.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
utmpx.h Implement <utmpx.h>. 2010-01-13 17:29:55 +00:00
uuid.h
varargs.h
vis.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
wchar.h Remove NetBSD Foundation clauses 3 & 4. They eliminated those clauses 2010-02-16 19:28:10 +00:00
wctype.h
wordexp.h