[BusyBox-cvs] CVS busybox/editors
CVS User bug1
bug1 at codepoet.org
Fri Sep 24 09:24:28 UTC 2004
Update of /var/cvs/busybox/editors
In directory nail:/tmp/cvs-serv6707/editors
Modified Files:
awk.c
Log Message:
Patch from Dmitry Zakharov to fix a bug triggered by freeswan's scripts.
--- /var/cvs/busybox/editors/awk.c 2004/07/30 23:52:08 1.10
+++ /var/cvs/busybox/editors/awk.c 2004/09/24 09:24:27 1.11
@@ -1554,7 +1554,7 @@
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 @@
if (! exiting) {
exiting = TRUE;
+ nextrec = FALSE;
evaluate(endseq.first, &tv);
}
More information about the busybox-cvs
mailing list