summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-08-02 22:30:30 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-08-02 22:30:30 +0000
commit75863ee47213d2c202252fbfbe0882047f056bc1 (patch)
tree47cec22a8d1720b158141b861bef454c9e08a8cd /libgo
parent1524bcdc97f2b3e74cecbbd7d01e2b56ac2ee361 (diff)
downloadgcc-75863ee47213d2c202252fbfbe0882047f056bc1.tar.gz
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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201455 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r--libgo/go/syscall/mksyscall.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/syscall/mksyscall.awk b/libgo/go/syscall/mksyscall.awk
index 74f0e28af4d..daf6554a6cd 100644
--- a/libgo/go/syscall/mksyscall.awk
+++ b/libgo/go/syscall/mksyscall.awk
@@ -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, "\\([^()]*\\)")