aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/patch/patch.go
diff options
context:
space:
mode:
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 d4977dc..fcc8307 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) }