diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-12-18 21:26:14 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-12-18 21:26:14 +0200 |
commit | 06cd783a8994b704c066aa59e11a6e76292d806e (patch) | |
tree | 335a4731980ed21d3e67a872a81e065350a0b345 /builtin.c | |
parent | 6e786e9ea47966a9cac7cfef4a4079ac379580b0 (diff) | |
download | egawk-06cd783a8994b704c066aa59e11a6e76292d806e.tar.gz egawk-06cd783a8994b704c066aa59e11a6e76292d806e.tar.bz2 egawk-06cd783a8994b704c066aa59e11a6e76292d806e.zip |
More removal of extra unused byte.
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2874,8 +2874,8 @@ set_how_many: lastmatchnonzero = false; - /* guesstimate how much room to allocate; +2 forces > 0 */ - buflen = textlen + (ampersands + 1) * repllen + 2; + /* guesstimate how much room to allocate; +1 forces > 0 */ + buflen = textlen + (ampersands + 1) * repllen + 1; emalloc(buf, char *, buflen + 1, "do_sub"); buf[buflen] = '\0'; |