syscall: Change AWK split call to use []+ rather than []*.

Using []* fails with the awk that is part of busybox:
https://groups.google.com/d/msg/gofrontend-dev/NbQsG_AMDpY/sXCc03kkwn4J

From-SVN: r201455
This commit is contained in:
Ian Lance Taylor 2013-08-02 22:30:30 +00:00
parent ecee672b46
commit 1b3dc031eb

View File

@ -53,7 +53,7 @@ BEGIN {
}
# Sets a[1] = //sysnb, a[2] == function name.
split(line, a, "[ (]*")
split(line, a, "[ (]+")
gofnname = a[2]
off = match(line, "\\([^()]*\\)")
@ -78,7 +78,7 @@ BEGIN {
next
}
split(line, a, "[ (]*")
split(line, a, "[ (]+")
cfnname = substr(a[1], 3, length(a[1]) - 2)
off = match(line, "\\([^()]*\\)")