summary refs log tree commit diff
path: root/src/mystring.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2018-05-31 01:51:48 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-08-29 11:16:09 +0800
commite9cb50188b1b04b6e5e8e8ccc8874b2abcff8bb1 (patch)
treebf3c4e21ad0dedc6b0678b666dae8d780e55a652 /src/mystring.c
parenteval: Always set localvar_stop (diff)
downloaddash-e9cb50188b1b04b6e5e8e8ccc8874b2abcff8bb1.tar.gz
dash-e9cb50188b1b04b6e5e8e8ccc8874b2abcff8bb1.zip
memalloc: Avoid looping in growstackto
Currently growstackto will repeatedly call growstackblock until
the requisite size is obtained.  This is wasteful.  This patch
changes growstackblock to take a minimum size instead.

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