diff options
| author | Ondřej Surý <ondrej@sury.org> | 2011-07-08 09:16:22 +0200 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2011-07-18 11:33:01 +0200 |
| commit | 2db5d1b2fdb0bb1c8afe6614314c1336888bdf4c (patch) | |
| tree | e59b124753eb1eec194ec682a7815c401388f10d /src/pkg/patch/patch.go | |
| parent | 3660a6e3d67838f34c87d7450bd600fc1d6d70c7 (diff) | |
| download | golang-2db5d1b2fdb0bb1c8afe6614314c1336888bdf4c.tar.gz | |
Imported Upstream version 2011.07.07
Diffstat (limited to 'src/pkg/patch/patch.go')
| -rw-r--r-- | src/pkg/patch/patch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/patch/patch.go b/src/pkg/patch/patch.go index d4977dc99..fcc8307e0 100644 --- a/src/pkg/patch/patch.go +++ b/src/pkg/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) } |
