Skip to content

Commit 4d743db

Browse files
committed
---
yaml --- r: 82908 b: refs/heads/auto c: 8aadcd4 h: refs/heads/master v: v3
1 parent a7f5fc3 commit 4d743db

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: a402fb27faabbe33f03d461d6684af4501db5ac4
16+
refs/heads/auto: 8aadcd4851d90adfb32da6ba8da3e7e29d97c28e
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/libstd/rt/io/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ pub enum IoErrorKind {
367367
Closed,
368368
ConnectionRefused,
369369
ConnectionReset,
370+
NotConnected,
370371
BrokenPipe,
371372
PathAlreadyExists,
372373
PathDoesntExist,
@@ -386,6 +387,7 @@ impl ToStr for IoErrorKind {
386387
Closed => ~"Closed",
387388
ConnectionRefused => ~"ConnectionRefused",
388389
ConnectionReset => ~"ConnectionReset",
390+
NotConnected => ~"NotConnected",
389391
BrokenPipe => ~"BrokenPipe",
390392
PathAlreadyExists => ~"PathAlreadyExists",
391393
PathDoesntExist => ~"PathDoesntExist",

branches/auto/src/libstd/rt/uv/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ pub fn uv_error_to_io_error(uverr: UvError) -> IoError {
267267
EACCES => PermissionDenied,
268268
ECONNREFUSED => ConnectionRefused,
269269
ECONNRESET => ConnectionReset,
270+
ENOTCONN => NotConnected,
270271
EPIPE => BrokenPipe,
271272
err => {
272273
rtdebug!("uverr.code {}", err as int);

branches/auto/src/libstd/rt/uv/uvll.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ pub mod errors {
5353
pub static EACCES: c_int = -4093;
5454
pub static ECONNREFUSED: c_int = -4079;
5555
pub static ECONNRESET: c_int = -4078;
56+
pub static ENOTCONN: c_int = -4054;
5657
pub static EPIPE: c_int = -4048;
5758
}
5859
#[cfg(not(windows))]
@@ -63,6 +64,7 @@ pub mod errors {
6364
pub static EACCES: c_int = -libc::EACCES;
6465
pub static ECONNREFUSED: c_int = -libc::ECONNREFUSED;
6566
pub static ECONNRESET: c_int = -libc::ECONNRESET;
67+
pub static ENOTCONN: c_int = -libc::ENOTCONN;
6668
pub static EPIPE: c_int = -libc::EPIPE;
6769
}
6870

0 commit comments

Comments
 (0)