Skip to content

Commit b89cfc3

Browse files
committed
---
yaml --- r: 190303 b: refs/heads/auto c: 04c947c h: refs/heads/master i: 190301: 84ac28f 190299: 335c715 190295: 10dab48 190287: 856841b 190271: 3b66efc v: v3
1 parent 6e8b26b commit b89cfc3

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
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: 0b01a9bb4b93e3f763b4ab924179462b415991d4
13+
refs/heads/auto: 04c947c13a180e00ce87970ac573862247c69cde
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

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