Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
a48115bf
Commit
a48115bf
authored
Mar 29, 2010
by
Roger Peppe
Committed by
Robert Griesemer
Mar 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strconv.Unquote could wrongly return a nil error on error.
R=rsc, gri CC=golang-dev
https://golang.org/cl/773041
parent
9ba5ec53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
quote.go
src/pkg/strconv/quote.go
+1
-1
No files found.
src/pkg/strconv/quote.go
View file @
a48115bf
...
...
@@ -239,7 +239,7 @@ func Unquote(s string) (t string, err os.Error) {
return
s
,
nil
}
if
quote
!=
'"'
&&
quote
!=
'\'
'
{
return
""
,
err
return
""
,
os
.
EINVAL
}
var
buf
bytes
.
Buffer
...
...
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