sh: Fix ""$@, which should not use the special case for "$@".
authorjilles <jilles@FreeBSD.org>
Wed, 18 Nov 2015 21:09:03 +0000 (21:09 +0000)
committerjilles <jilles@FreeBSD.org>
Wed, 18 Nov 2015 21:09:03 +0000 (21:09 +0000)
commitcf0d26dcd6f3ae0595b32f615c52e365a58478c0
tree7ccc5ddee96c6a52ecb1e104b67ce2610af523e4
parentb5240dc1944697c0e8cfcbde23981eab5936e502
sh: Fix ""$@, which should not use the special case for "$@".

"$@" should expand to no words if there are no positional parameters, but
""$@ should always expand to at least an empty word.
bin/sh/expand.c
bin/sh/tests/parameters/positional8.0 [new file with mode: 0644]