diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-04-28 16:46:05 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-04-28 16:46:05 +0300 |
commit | 6853b3e94c03194200c5a7c4450820a8eaa0920f (patch) | |
tree | 0e68baf9f5d687a0a3b6543f01522a56bf010279 /gawkapi.h | |
parent | 020be4cb81b519a597acbf85e683cfb95993c2b9 (diff) | |
parent | b4ef28f58688cf3c3a5878c595b6582144ee2cf1 (diff) | |
download | egawk-6853b3e94c03194200c5a7c4450820a8eaa0920f.tar.gz egawk-6853b3e94c03194200c5a7c4450820a8eaa0920f.tar.bz2 egawk-6853b3e94c03194200c5a7c4450820a8eaa0920f.zip |
Merge branch 'master' into feature/regex-type
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; |