diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-04-27 14:09:25 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-04-27 14:09:25 +0300 |
commit | 7bab0e1ff31ebaf7716fe2716a630c92b8ca8a44 (patch) | |
tree | bac93ed98e429ea3ecd42885a8d087db3e69fb21 /gawkapi.h | |
parent | a435b8da2941d0b3c997420c71b1f4b7b79b52ff (diff) | |
parent | e78dfd4b04060ad3278a1b3505720893ec432617 (diff) | |
download | egawk-7bab0e1ff31ebaf7716fe2716a630c92b8ca8a44.tar.gz egawk-7bab0e1ff31ebaf7716fe2716a630c92b8ca8a44.tar.bz2 egawk-7bab0e1ff31ebaf7716fe2716a630c92b8ca8a44.zip |
Merge branch 'master' into feature/cmake
Diffstat (limited to 'gawkapi.h')
-rw-r--r-- | gawkapi.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -827,7 +827,7 @@ r_make_string(const gawk_api_t *api, /* needed for emalloc */ result->str_value.len = length; if (duplicate) { - emalloc(cp, char *, length + 2, "r_make_string"); + emalloc(cp, char *, length + 1, "r_make_string"); memcpy(cp, string, length); cp[length] = '\0'; result->str_value.str = cp; |