summaryrefslogtreecommitdiffstats
path: root/libgo/go/patch/patch.go
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-16 15:47:21 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-16 15:47:21 +0000
commit49b4e44b7d540fa846d353b10237848a67789cbf (patch)
treeea2b52e3c258d6b6d9356977c683c7f72a4a5fd5 /libgo/go/patch/patch.go
parent82ceb8f6a88a0193971f53e0571e017f2764f7d7 (diff)
downloadppe42-gcc-49b4e44b7d540fa846d353b10237848a67789cbf.tar.gz
ppe42-gcc-49b4e44b7d540fa846d353b10237848a67789cbf.zip
Update Go library to r60.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178910 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go/patch/patch.go')
-rw-r--r--libgo/go/patch/patch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/patch/patch.go b/libgo/go/patch/patch.go
index d4977dc9902..fcc8307e09c 100644
--- a/libgo/go/patch/patch.go
+++ b/libgo/go/patch/patch.go
@@ -319,4 +319,4 @@ func hasPrefix(s []byte, t string) bool {
// splitLines returns the result of splitting s into lines.
// The \n on each line is preserved.
-func splitLines(s []byte) [][]byte { return bytes.SplitAfter(s, newline, -1) }
+func splitLines(s []byte) [][]byte { return bytes.SplitAfter(s, newline) }
OpenPOWER on IntegriCloud