diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-08-14 00:06:55 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-08-14 00:06:55 +0300 |
commit | c4300d657ba49db0b6d0f0884f41a29622edc58b (patch) | |
tree | a49e5590dab96979293e3c16455d9f305d9ce738 /profile.c | |
parent | 69b59a73db108ede65e4dfce90fcfb10723e1feb (diff) | |
parent | 15a922b8a62092fab8b0e9b9fa06c3182b38b596 (diff) | |
download | egawk-c4300d657ba49db0b6d0f0884f41a29622edc58b.tar.gz egawk-c4300d657ba49db0b6d0f0884f41a29622edc58b.tar.bz2 egawk-c4300d657ba49db0b6d0f0884f41a29622edc58b.zip |
Merge branch 'master' into select
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; |