diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-11-18 06:00:17 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-11-18 06:00:17 +0200 |
commit | e8b0cf14d975304166c58a2d04a2943ab821367a (patch) | |
tree | 6984492869ca192ee6a7fdf330e6867a5f61ae09 /awkgram.c | |
parent | cc04afb329cea035d0d9b67cd3b677e06b2f3996 (diff) | |
download | egawk-e8b0cf14d975304166c58a2d04a2943ab821367a.tar.gz egawk-e8b0cf14d975304166c58a2d04a2943ab821367a.tar.bz2 egawk-e8b0cf14d975304166c58a2d04a2943ab821367a.zip |
Audit use of stptr for NUL termination. Update doc before merge to master.
Diffstat (limited to 'awkgram.c')
-rw-r--r-- | awkgram.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5615,7 +5615,7 @@ split_comment(void) if (p[l] == '\n' && p[l+1] == '\n') { function_comment = comment_to_save; n = function_comment->memory; - function_comment->memory = make_str_node(p + l + 2, n->stlen - l - 2, 0); + function_comment->memory = make_string(p + l + 2, n->stlen - l - 2); /* create program comment */ program_comment = bcalloc(Op_comment, 1, sourceline); program_comment->source_file = comment_to_save->source_file; |