summary refs log tree commit diff
path: root/src/nodetypes
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2018-06-01 18:25:29 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-08-29 11:22:05 +0800
commit78a00a7471c059c9d7055f633c060106596de4fb (patch)
tree699241e0db6602fa9ca14e74a25d58529a86e905 /src/nodetypes
parentmemalloc: Avoid looping in growstackto (diff)
downloaddash-78a00a7471c059c9d7055f633c060106596de4fb.tar.gz
dash-78a00a7471c059c9d7055f633c060106596de4fb.zip
expand: Ensure result is escaped in cvtnum
The minus sign generated from arithmetic expansion is currently
unquoted which causes anomalies when the result is used in where
the quoting matters.

This patch fixes it by explicitly calling memtodest on the result
in cvtnum.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/nodetypes')
0 files changed, 0 insertions, 0 deletions