Index: src/pkg/patch/patch.go |
=================================================================== |
--- a/src/pkg/patch/patch.go |
+++ b/src/pkg/patch/patch.go |
@@ -319,4 +319,4 @@ |
// 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) } |