Patch from Dmitry Zakharov to fix a bug triggered by freeswan's scripts.

This commit is contained in:
Glenn L McGrath 2004-09-24 09:24:27 +00:00
parent bdf6319d3a
commit ca29ffc206

View File

@ -1554,7 +1554,7 @@ static void handle_special(var *v) {
memcpy(b+len, s, l);
len += l;
}
b[len] = '\0';
if (b) b[len] = '\0';
setvar_p(V[F0], b);
is_f0_split = TRUE;
@ -2551,6 +2551,7 @@ static int awk_exit(int r) {
if (! exiting) {
exiting = TRUE;
nextrec = FALSE;
evaluate(endseq.first, &tv);
}