From: Glenn L McGrath Date: Fri, 23 Jul 2004 02:11:25 +0000 (-0000) Subject: Patch from Dmitry Zakharov to fix a bug discovered via the freeswap X-Git-Tag: 1_00_rc2~19 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1fbc909570199c22fb38221e4c6523d798141a15;p=oweals%2Fbusybox.git Patch from Dmitry Zakharov to fix a bug discovered via the freeswap script. --- diff --git a/editors/awk.c b/editors/awk.c index 9905be092..af8958925 100644 --- a/editors/awk.c +++ b/editors/awk.c @@ -1211,6 +1211,7 @@ static void chain_group(void) { if (c & TC_GRPSTART) { while(next_token(TC_GRPSEQ | TC_GRPTERM) != TC_GRPTERM) { + if (t.tclass & TC_NEWLINE) continue; rollback_token(); chain_group(); }