]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r273920: sh: Fix corruption of CTL* bytes in positional parameters in
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 Dec 2014 15:11:07 +0000 (15:11 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 Dec 2014 15:11:07 +0000 (15:11 +0000)
commit948a29a6a59aeb2b3cfe84553a36d69d1450a26e
treecb8d8fb328118ca35e53c98c91f9a691a751bd25
parent498457028f6666b517c26ee46982c98ae7910613
MFC r273920: sh: Fix corruption of CTL* bytes in positional parameters in
redirection.

EXP_REDIR was not being checked for while expanding positional parameters in
redirection, so CTL* bytes were not being prefixed where they should be.

git-svn-id: svn://svn.freebsd.org/base/stable/10@276363 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/sh/expand.c
bin/sh/tests/expansion/Makefile
bin/sh/tests/expansion/redir1.0 [new file with mode: 0644]