diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-07-03 08:56:01 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-07-03 08:56:01 +0300 |
commit | 08af4ee49aac78ac73df6849fd8f4fa3f0f97cbe (patch) | |
tree | b47f3196d8d1a3852ab0a0840783591515686666 /profile.c | |
parent | d128c1998c9cbc8f5a28dc4e2b9d7f2fb6f7366e (diff) | |
parent | 96cb55baaa352714943b94e73cbf94866250628d (diff) | |
download | egawk-08af4ee49aac78ac73df6849fd8f4fa3f0f97cbe.tar.gz egawk-08af4ee49aac78ac73df6849fd8f4fa3f0f97cbe.tar.bz2 egawk-08af4ee49aac78ac73df6849fd8f4fa3f0f97cbe.zip |
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1232,6 +1232,8 @@ pp_string(const char *in_str, size_t len, int delim) *obufout++ = '\\'; *obufout++ = delim; } else if (*str == '\0') { + chksize(4); + *obufout++ = '\\'; *obufout++ = '0'; *obufout++ = '0'; @@ -1255,7 +1257,7 @@ pp_string(const char *in_str, size_t len, int delim) obufout += len; } } - chksize(1); + chksize(2); *obufout++ = delim; *obufout = '\0'; return obuf; |