summaryrefslogtreecommitdiffstats
path: root/sys/boot/sparc64/loader/main.c
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2010-10-29 19:34:57 +0000
committerjilles <jilles@FreeBSD.org>2010-10-29 19:34:57 +0000
commitaaa3347e35af4d5a78d7159ebddda1f06dbb2275 (patch)
treee746f39f7e9cc329381f8a5921f6d37f038dd8dc /sys/boot/sparc64/loader/main.c
parentfb52bdc70d3cbdbe376680788e56f06717e7630f (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud