Skip to content

Commit 42c7b10

Browse files
committed
---
yaml --- r: 190327 b: refs/heads/tmp c: 04c947c h: refs/heads/master i: 190325: 0432da0 190323: 0bd21e9 190319: b4f0b75 v: v3
1 parent edded89 commit 42c7b10

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 522d09dfecbeca1595f25ac58c6d0178bbd21d7d
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: 0b01a9bb4b93e3f763b4ab924179462b415991d4
37+
refs/heads/tmp: 04c947c13a180e00ce87970ac573862247c69cde
3838
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3939
refs/tags/homu-tmp: 4a5101a42f8ea36bdbe14749e672ab78cb971726

branches/tmp/src/libstd/sys/unix/tty.rs

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ pub struct TTY {
2323
}
2424

2525
#[cfg(any(target_os = "macos",
26+
target_os = "ios",
27+
target_os = "dragonfly",
2628
target_os = "freebsd",
2729
target_os = "bitrig",
2830
target_os = "openbsd"))]
@@ -54,12 +56,6 @@ impl TTY {
5456
Err(sys_common::unimpl())
5557
}
5658

57-
#[cfg(any(target_os = "linux",
58-
target_os = "android",
59-
target_os = "macos",
60-
target_os = "freebsd",
61-
target_os = "bitrig",
62-
target_os = "openbsd"))]
6359
pub fn get_winsize(&mut self) -> IoResult<(int, int)> {
6460
unsafe {
6561
#[repr(C)]
@@ -82,10 +78,4 @@ impl TTY {
8278
}
8379
}
8480
}
85-
86-
#[cfg(any(target_os = "ios",
87-
target_os = "dragonfly"))]
88-
pub fn get_winsize(&mut self) -> IoResult<(int, int)> {
89-
Err(sys_common::unimpl())
90-
}
9181
}

0 commit comments

Comments
 (0)