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.2011-11-02.
[pf3gnuchains/gcc-fork.git]
/
libgo
/
go
/
net
/
timeout_test.go
diff --git
a/libgo/go/net/timeout_test.go
b/libgo/go/net/timeout_test.go
index
2c2c36f
..
3c884ca
100644
(file)
--- a/
libgo/go/net/timeout_test.go
+++ b/
libgo/go/net/timeout_test.go
@@
-5,7
+5,6
@@
package net
import (
- "os"
"runtime"
"testing"
"time"
@@
-22,7
+21,7
@@
func testTimeout(t *testing.T, network, addr string, readFrom bool) {
fd.SetReadTimeout(1e8) // 100ms
var b [100]byte
var n int
- var err1
os.E
rror
+ var err1
e
rror
if readFrom {
n, _, err1 = fd.(PacketConn).ReadFrom(b[0:])
} else {