diff options
author | jilles <jilles@FreeBSD.org> | 2010-10-29 19:34:57 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2010-10-29 19:34:57 +0000 |
commit | aaa3347e35af4d5a78d7159ebddda1f06dbb2275 (patch) | |
tree | e746f39f7e9cc329381f8a5921f6d37f038dd8dc /sys/boot/sparc64/loader/main.c | |
parent | fb52bdc70d3cbdbe376680788e56f06717e7630f (diff) | |
download | FreeBSD-src-aaa3347e35af4d5a78d7159ebddda1f06dbb2275.zip FreeBSD-src-aaa3347e35af4d5a78d7159ebddda1f06dbb2275.tar.gz |
sh: Fix some issues with CTL* bytes and ${var#pat}.
subevalvar() incorrectly assumed that CTLESC bytes were present iff the
expansion was quoted. However, they are present iff various processing such
as word splitting is to be done later on.
Example:
v=@$e@$e@$e@
y="${v##*"$e"}"
echo "$y"
failed if $e contained the magic CTLESC byte.
Exp-run done by: pav (with some other sh(1) changes)
Diffstat (limited to 'sys/boot/sparc64/loader/main.c')
0 files changed, 0 insertions, 0 deletions