diff options
| author | christos <christos@NetBSD.org> | 2010-11-14 19:43:38 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2010-11-14 19:43:38 +0000 |
| commit | 082c42cb767a641e9ec014fb7a28b43bc3380a03 (patch) | |
| tree | e36123c4f483e6c6523c77e2f85265b654736d7c /sys/dev/dm/dm_target_linear.c | |
| parent | 232829f42fa0700c521e279c9e6d849d39a360d9 (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
