summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_target_linear.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2010-11-14 19:43:38 +0000
committerchristos <christos@NetBSD.org>2010-11-14 19:43:38 +0000
commit082c42cb767a641e9ec014fb7a28b43bc3380a03 (patch)
treee36123c4f483e6c6523c77e2f85265b654736d7c /sys/dev/dm/dm_target_linear.c
parent232829f42fa0700c521e279c9e6d849d39a360d9 (diff)
- Fix a couple of bugs to make the following two echo statements print the
same output as they should: line='#define bindir "/usr/bin" /* comment */' echo "${line%%/\**}" echo ${line%%/\**} 1. ISDBLQUOTE() was not working properly for non VSNORMAL expansions because varnest was incremented before the variable was completely parsed. Add an insub adjustment to keep track of that. 2. When we have a quoted backslash, we need to escape twice, because one level of escaping will be stripped later. (XXX: Do that when insub == 1 only?) - Make macros statements
Diffstat (limited to 'sys/dev/dm/dm_target_linear.c')
0 files changed, 0 insertions, 0 deletions