Skip to content

Commit 0bd5932

Browse files
committed
---
yaml --- r: 191293 b: refs/heads/try c: 04c947c h: refs/heads/master i: 191291: f569e10 v: v3
1 parent d4335e0 commit 0bd5932

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 809a554fca2d0ebc2ba50077016fe282a4064752
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c64d671671aea2e44ee7fc6eb00ee75fc30ed7b9
5-
refs/heads/try: 0b01a9bb4b93e3f763b4ab924179462b415991d4
5+
refs/heads/try: 04c947c13a180e00ce87970ac573862247c69cde
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/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)