File tree Expand file tree Collapse file tree 4 files changed +6
-1
lines changed
branches/auto/src/libstd/rt Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
13
13
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
14
14
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
15
15
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16
- refs/heads/auto: a402fb27faabbe33f03d461d6684af4501db5ac4
16
+ refs/heads/auto: 8aadcd4851d90adfb32da6ba8da3e7e29d97c28e
17
17
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
18
18
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
19
19
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
Original file line number Diff line number Diff line change @@ -367,6 +367,7 @@ pub enum IoErrorKind {
367
367
Closed ,
368
368
ConnectionRefused ,
369
369
ConnectionReset ,
370
+ NotConnected ,
370
371
BrokenPipe ,
371
372
PathAlreadyExists ,
372
373
PathDoesntExist ,
@@ -386,6 +387,7 @@ impl ToStr for IoErrorKind {
386
387
Closed => ~"Closed ",
387
388
ConnectionRefused => ~"ConnectionRefused ",
388
389
ConnectionReset => ~"ConnectionReset ",
390
+ NotConnected => ~"NotConnected ",
389
391
BrokenPipe => ~"BrokenPipe ",
390
392
PathAlreadyExists => ~"PathAlreadyExists ",
391
393
PathDoesntExist => ~"PathDoesntExist ",
Original file line number Diff line number Diff line change @@ -267,6 +267,7 @@ pub fn uv_error_to_io_error(uverr: UvError) -> IoError {
267
267
EACCES => PermissionDenied,
268
268
ECONNREFUSED => ConnectionRefused,
269
269
ECONNRESET => ConnectionReset,
270
+ ENOTCONN => NotConnected,
270
271
EPIPE => BrokenPipe,
271
272
err => {
272
273
rtdebug!(" uverr. code { } ", err as int);
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ pub mod errors {
53
53
pub static EACCES : c_int = -4093 ;
54
54
pub static ECONNREFUSED : c_int = -4079 ;
55
55
pub static ECONNRESET : c_int = -4078 ;
56
+ pub static ENOTCONN : c_int = -4054 ;
56
57
pub static EPIPE : c_int = -4048 ;
57
58
}
58
59
#[ cfg( not( windows) ) ]
@@ -63,6 +64,7 @@ pub mod errors {
63
64
pub static EACCES : c_int = -libc:: EACCES ;
64
65
pub static ECONNREFUSED : c_int = -libc:: ECONNREFUSED ;
65
66
pub static ECONNRESET : c_int = -libc:: ECONNRESET ;
67
+ pub static ENOTCONN : c_int = -libc:: ENOTCONN ;
66
68
pub static EPIPE : c_int = -libc:: EPIPE ;
67
69
}
68
70
You can’t perform that action at this time.
0 commit comments