OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libgo: Update to weekly.2012-03-13.
[pf3gnuchains/gcc-fork.git]
/
libgo
/
go
/
net
/
mail
/
message.go
diff --git
a/libgo/go/net/mail/message.go
b/libgo/go/net/mail/message.go
index
bf22c71
..
0917bbe
100644
(file)
--- a/
libgo/go/net/mail/message.go
+++ b/
libgo/go/net/mail/message.go
@@
-394,8
+394,7
@@
func (p *addrParser) consumeAtom(dot bool) (atom string, err error) {
i := 1
for ; i < p.len() && isAtext((*p)[i], dot); i++ {
}
- // TODO(dsymonds): Remove the []byte() conversion here when 6g doesn't need it.
- atom, *p = string([]byte((*p)[:i])), (*p)[i:]
+ atom, *p = string((*p)[:i]), (*p)[i:]
return atom, nil
}