libc: remove wordexp(3c)
commit7298229371118c3484127810eaae4515a96c85ca
authorLauri Tirkkonen <lotheac@iki.fi>
Mon, 4 Mar 2019 11:14:45 +0000 (4 13:14 +0200)
committerLauri Tirkkonen <lotheac@iki.fi>
Mon, 4 Mar 2019 11:20:59 +0000 (4 13:20 +0200)
treef4071ae32259f65371e3059763bd7804a6816ed3
parent2f72b55fed74ba4f2059ba9af8d1c85fdd563127
libc: remove wordexp(3c)

it has been broken since ksh93 removal, and the implementation is
terrible: it spawns a shell for each invocation.

strictly speaking wordexp is specified by posix, but in practice it
doesn't seem to be required by most software; eg. openbsd doesn't have
it either (freebsd does, but they also use shell to implement it). let's
try the approach of just not providing this function.
16 files changed:
include/Makefile
include/wordexp.h [deleted file]
share/man/man1/dmake.1
share/man/man3c/Makefile
share/man/man3c/fnmatch.3c
share/man/man3c/glob.3c
share/man/man3c/wordexp.3c [deleted file]
share/man/man3head/Makefile
share/man/man3head/wordexp.h.3head [deleted file]
share/man/man3lib/libc.3lib
usr/src/lib/libc/amd64/Makefile
usr/src/lib/libc/i386/Makefile.com
usr/src/lib/libc/port/mapfile-vers
usr/src/lib/libc/port/regex/wordexp.c [deleted file]
usr/src/pkg/manifests/system-header.mf
usr/src/pkg/manifests/system-library.man3c.inc