[BusyBox-cvs] CVS update of busybox/editors (awk.c)

Glenn McGrath bug1 at codepoet.org
Fri Jul 23 02:11:27 UTC 2004


    Date: Thursday, July 22, 2004 @ 20:11:27
  Author: bug1
    Path: /var/cvs/busybox/editors

Modified: awk.c (1.8 -> 1.9)

Patch from Dmitry Zakharov to fix a bug discovered via the freeswap 
script.


Index: busybox/editors/awk.c
diff -u busybox/editors/awk.c:1.8 busybox/editors/awk.c:1.9
--- busybox/editors/awk.c:1.8	Wed Apr 14 11:51:09 2004
+++ busybox/editors/awk.c	Thu Jul 22 20:11:25 2004
@@ -1211,6 +1211,7 @@
 
 	if (c & TC_GRPSTART) {
 		while(next_token(TC_GRPSEQ | TC_GRPTERM) != TC_GRPTERM) {
+			if (t.tclass & TC_NEWLINE) continue;	
 			rollback_token();
 			chain_group();
 		}



More information about the busybox-cvs mailing list