[libgo PATCH 0/1] mksyscalls.awk: make split ERE more portable

Ian Lance Taylor iant@google.com
Fri Aug 2 22:33:00 GMT 2013


On Thu, Aug 1, 2013 at 5:36 AM, Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com> wrote:
>
> When using busybox' awk to bootstrap, libgo's syscalls are generated
> incorrectly.
>
> I'm attaching the split() used by busybox' awk including output before
> and after the patch for reference.
>
> Please install / ok to install?

I installed a slightly different version, that retains the desired
semantics (skip arbitrary amounts of whitespace).  This should avoid
confusing the busybox awk by matching the null string.  Committed to
mainline and 4.8 branch.

Thanks for reporting the issue.

Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: application/octet-stream
Size: 572 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130802/1d88b2ae/attachment.obj>


More information about the Gcc-patches mailing list