Skip to content

Commit 9d72197

Browse files
committed
---
yaml --- r: 83559 b: refs/heads/try c: b617569 h: refs/heads/master i: 83557: e66e44e 83555: 7e8d6e3 83551: e2410c9 v: v3
1 parent dd11b54 commit 9d72197

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
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: 0e4d1fc8cae42e15e00f71d9f439b01bb25a86ae
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
5-
refs/heads/try: f4f6b951d7e6f3940dba4faa35b65a7619466d95
5+
refs/heads/try: b617569583e6b15d487c44ec6f7af866f2064d77
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libstd/os.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ impl to_str::ToStr for MapError {
13981398

13991399
#[cfg(unix)]
14001400
impl MemoryMap {
1401-
pub fn new(min_len: uint, options: ~[MapOption]) -> Result<~MemoryMap, MapError> {
1401+
pub fn new(min_len: uint, options: &[MapOption]) -> Result<MemoryMap, MapError> {
14021402
#[fixed_stack_segment]; #[inline(never)];
14031403

14041404
use libc::off_t;
@@ -1441,7 +1441,7 @@ impl MemoryMap {
14411441
code => ErrUnknown(code)
14421442
})
14431443
} else {
1444-
Ok(~MemoryMap {
1444+
Ok(MemoryMap {
14451445
data: r as *mut u8,
14461446
len: len,
14471447
kind: if fd == -1 {
@@ -1478,7 +1478,7 @@ impl Drop for MemoryMap {
14781478
14791479
#[cfg(windows)]
14801480
impl MemoryMap {
1481-
pub fn new(min_len: uint, options: ~[MapOption]) -> Result<~MemoryMap, MapError> {
1481+
pub fn new(min_len: uint, options: &[MapOption]) -> Result<MemoryMap, MapError> {
14821482
#[fixed_stack_segment]; #[inline(never)];
14831483
14841484
use libc::types::os::arch::extra::{LPVOID, DWORD, SIZE_T, HANDLE};
@@ -1524,7 +1524,7 @@ impl MemoryMap {
15241524
};
15251525
match r as uint {
15261526
0 => Err(ErrVirtualAlloc(errno())),
1527-
_ => Ok(~MemoryMap {
1527+
_ => Ok(MemoryMap {
15281528
data: r as *mut u8,
15291529
len: len,
15301530
kind: MapVirtual
@@ -1560,7 +1560,7 @@ impl MemoryMap {
15601560
0);
15611561
match r as uint {
15621562
0 => Err(ErrMapViewOfFile(errno())),
1563-
_ => Ok(~MemoryMap {
1563+
_ => Ok(MemoryMap {
15641564
data: r as *mut u8,
15651565
len: len,
15661566
kind: MapFile(mapping as *c_void)
@@ -1996,7 +1996,7 @@ mod tests {
19961996
fn memory_map_rw() {
19971997
use result::{Ok, Err};
19981998
1999-
let chunk = match os::MemoryMap::new(16, ~[
1999+
let chunk = match os::MemoryMap::new(16, [
20002000
os::MapReadable,
20012001
os::MapWritable
20022002
]) {
@@ -2050,7 +2050,7 @@ mod tests {
20502050
}
20512051
fd
20522052
};
2053-
let chunk = match MemoryMap::new(size / 2, ~[
2053+
let chunk = match MemoryMap::new(size / 2, [
20542054
MapReadable,
20552055
MapWritable,
20562056
MapFd(fd),

branches/try/src/libstd/rt/uv/net.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,7 @@ mod test {
624624
}
625625
626626
#[test]
627+
#[ignore(cfg(windows))] // FIXME #8815
627628
fn listen_ip4() {
628629
do run_in_bare_thread() {
629630
static MAX: int = 10;
@@ -698,6 +699,7 @@ mod test {
698699
}
699700
700701
#[test]
702+
#[ignore(cfg(windows))] // FIXME #8815
701703
fn listen_ip6() {
702704
do run_in_bare_thread() {
703705
static MAX: int = 10;
@@ -774,6 +776,7 @@ mod test {
774776
}
775777
776778
#[test]
779+
#[ignore(cfg(windows))] // FIXME #8815
777780
fn udp_recv_ip4() {
778781
do run_in_bare_thread() {
779782
static MAX: int = 10;
@@ -834,6 +837,7 @@ mod test {
834837
}
835838
836839
#[test]
840+
#[ignore(cfg(windows))] // FIXME #8815
837841
fn udp_recv_ip6() {
838842
do run_in_bare_thread() {
839843
static MAX: int = 10;

0 commit comments

Comments
 (0)