diff options
Diffstat (limited to '')
-rw-r--r-- | src/exec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/exec.c b/src/exec.c index d7ced35..c98f14c 100644 --- a/src/exec.c +++ b/src/exec.c @@ -195,9 +195,7 @@ padvance(const char **path, const char *name) start = *path; for (p = start ; *p && *p != ':' && *p != '%' ; p++); len = p - start + strlen(name) + 2; /* "2" is for '/' and '\0' */ - while (stackblocksize() < len) - growstackblock(); - q = stackblock(); + q = growstackto(len); if (p != start) { memcpy(q, start, p - start); q += p - start; |