Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
c78710f5
Commit
c78710f5
authored
Nov 30, 2009
by
Christopher Wedgwood
Committed by
Russ Cox
Nov 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add trivial whitespace to CorruptInputError strings.
R=r, rsc
https://golang.org/cl/161058
parent
f0c97195
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/pkg/encoding/ascii85/ascii85.go
src/pkg/encoding/ascii85/ascii85.go
+1
-1
src/pkg/encoding/base64/base64.go
src/pkg/encoding/base64/base64.go
+1
-1
src/pkg/encoding/git85/git.go
src/pkg/encoding/git85/git.go
+1
-1
No files found.
src/pkg/encoding/ascii85/ascii85.go
View file @
c78710f5
...
...
@@ -169,7 +169,7 @@ func (e *encoder) Close() os.Error {
type
CorruptInputError
int64
func
(
e
CorruptInputError
)
String
()
string
{
return
"illegal ascii85 data at input byte"
+
strconv
.
Itoa64
(
int64
(
e
))
return
"illegal ascii85 data at input byte
"
+
strconv
.
Itoa64
(
int64
(
e
))
}
// Decode decodes src into dst, returning both the number
...
...
src/pkg/encoding/base64/base64.go
View file @
c78710f5
...
...
@@ -197,7 +197,7 @@ func (enc *Encoding) EncodedLen(n int) int { return (n + 2) / 3 * 4 }
type
CorruptInputError
int64
func
(
e
CorruptInputError
)
String
()
string
{
return
"illegal base64 data at input byte"
+
strconv
.
Itoa64
(
int64
(
e
))
return
"illegal base64 data at input byte
"
+
strconv
.
Itoa64
(
int64
(
e
))
}
// decode is like Decode but returns an additional 'end' value, which
...
...
src/pkg/encoding/git85/git.go
View file @
c78710f5
...
...
@@ -16,7 +16,7 @@ import (
type
CorruptInputError
int64
func
(
e
CorruptInputError
)
String
()
string
{
return
"illegal git85 data at input byte"
+
strconv
.
Itoa64
(
int64
(
e
))
return
"illegal git85 data at input byte
"
+
strconv
.
Itoa64
(
int64
(
e
))
}
const
encode
=
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment