diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-20 10:06:20 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-20 10:37:30 +0100 |
commit | ecc85832f8b4d8278b0a17aa62b0c8a9f81461e4 (patch) | |
tree | 9ce4dce5d3cc149440408ada6e40c84ab4f26ac3 /shell/hush_test/hush-quoting | |
parent | e2dd2afc8e4dbcf1061818adc68d2e74a1fa64d3 (diff) | |
download | busybox-ecc85832f8b4d8278b0a17aa62b0c8a9f81461e4.tar.gz |
ash: expand: Merge syntax/quotes in memtodest with flags
Upstream commit:
Date: Mon, 28 May 2018 00:17:39 +0800
expand: Merge syntax/quotes in memtodest with flags
The function arguments syntax and quotes are both derived from
the expansion flags. As syntax is only used by memtodest we do
not need to maintain it outside of the function at all.
The only place that uses something other than BASESYNTAX or DQSYNTAX
is exptilde. However in that case DQSYNTAX has exactly the same
effect as SQSYNTAX.
This patch merges these two arguments into a single flags. The
macro QUOTES_KEEPNUL has been renamed to EXP_KEEPNUL in order
to keep the namespace separate.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-quoting')
0 files changed, 0 insertions, 0 deletions