1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +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 Add an implementation of the RPCSEC_GSS authentication protocol for RPC. This 2008-08-06 14:02:05 +00:00
protocols Remove clause 3 from Berkeley copyrights. Add a few $FreeBSD$'s. 2010-02-16 19:46:46 +00:00
rpc Re-do r192913 in less intrusive way. Only do IP_RECVDSTADDR/IP_SENDSRCADDR 2009-06-18 17:10:43 +00:00
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 Implement cproj{,f,l}(). 2008-08-07 15:07:48 +00:00
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 Modified locale(1) to be able to show the altmon_X fields and the [cxX]_fmt's. 2009-10-05 07:11:19 +00:00
libgen.h Add basename_r(3) to complement basename(3). basename_r(3) which accepts 2009-10-06 14:05:57 +00:00
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 Add cpu affinity APIs to get and set thread's cpu affinity mask, the 2008-03-03 08:28:13 +00:00
pthread.h Fix the visibility of several prototypes. Also move pthread_kill() and 2009-03-14 20:10:14 +00:00
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 Define the size_t type since readpassphrase(3) requires it in its 2008-05-08 23:57:29 +00:00
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 Remove __restrict keywords from array arguments to make GCC's -std=c99 work. 2008-06-19 07:30:32 +00:00
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 Add missing prototypes for uuid_enc,dec_le,be() functions. 2008-09-15 23:47:19 +00:00
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