libc: Sync wordexp(3) with FreeBSD.
authorSascha Wildner <saw@online.de>
Fri, 9 Oct 2020 19:41:48 +0000 (21:41 +0200)
committerSascha Wildner <saw@online.de>
Fri, 9 Oct 2020 19:42:07 +0000 (21:42 +0200)
commita31d362788e8f158ecc861d1247b0648ccd22f9a
treea1c979df3ee88fb605c06df78b41fb355b50f158
parentc5a52fd3cd7394a7173d2b1958bd246019a588e5
libc: Sync wordexp(3) with FreeBSD.

I went and changed freebsd_wordexp() to wordexp2(), though.

Taken-from: FreeBSD
12 files changed:
bin/sh/builtins.def
bin/sh/expand.c
bin/sh/parser.c
bin/sh/parser.h
bin/sh/pregenerated/builtins.c
bin/sh/pregenerated/builtins.h
lib/libc/gen/wordexp.3
lib/libc/gen/wordexp.c
share/man/man1/Makefile
share/man/man1/builtin.1
tools/regression/lib/libc/gen/Makefile [new file with mode: 0644]
tools/regression/lib/libc/gen/test-wordexp.c [new file with mode: 0644]