[BusyBox] awk problem with freeswan

Dmitry Zakharov dmit at crp.bank.gov.ua
Mon Jul 5 16:29:48 UTC 2004


>Busybox awk doesn't seem to like freeswan's setup scripts.  I've
>isolated one problem to this testcase.  It seems that busybox gets upset
>by the "break", though both gawk and mawk are happy with it.
>
>

Here is the patch:


--- editors/awk.c       2004-07-05 09:14:00.000000000 +0300
+++ editors/awk.c       2004-07-05 09:16:59.000000000 +0300
@@ -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 mailing list